Skip to content

GorkaMM/Fabric

Repository files navigation

Fabric

IMPORTANT

This is no longer mantained. Please use official Pod from Fabric.

Legacy

Current versions:

  • Fabric.framework v1.1.1
  • Crashlytics.framework v2.2.9
  • TwitterKit.framework v1.2.0
  • MoPub.framework v3.3.0

Installing

  1. Use official Fabric app to add components you need
  2. Remove all frameworks from project which were added by Fabric app
  3. Add pods
pod 'Fabric/Crashlytics', '~> 1.1.1'
pod 'Fabric/MoPub', '~> 1.1.1'
pod 'Fabric/Twitter', '~> 1.1.1'
  1. Change path in Run Script Build command to:

./Pods/Fabric/Fabric.framework/run <your organization API key> <your organization build secret>

If you only need Crashlytics you can also install it without app:

  1. Add pods (see above)
  2. Add Run Script Build Phase (see http://www.runscriptbuildphase.com) and paste

./Pods/Fabric/Fabric.framework/run <your organization API key> <your organization build secret>

You can get your organization API key and build secret from organization settings page (https://fabric.io/settings/organizations).

  1. Add the following to your project's Info.plist:
<key>Fabric</key>
<dict>
	<key>APIKey</key>
	<string><your organization API key></string>
	<key>Kits</key>
	<array>
		<dict>
			<key>KitInfo</key>
			<dict/>
			<key>KitName</key>
			<string>Crashlytics</string>
		</dict>
	</array>
</dict>