1.8 KiB
Part of Google Fabric, Crashlytics offers the most powerful, yet lightest weight crash reporting solution for iOS. Crashlytics also provides real-time analytics through Answers and app distributions to testers using Beta.
Setup
-
Visit https://fabric.io/sign_up to create your Fabric account and to download Fabric.app.
-
Open Fabric.app, login and select the Crashlytics SDK.
-
The Fabric app automatically detects when a project uses CocoaPods and gives you the option to install via the Podfile or Xcode.
-
Select the Podfile option and follow the installation instructions to update your Podfile. Note: the Crashlytics Pod includes Answers. If you have Answers included as a separate Pod it should be removed from your Podfile to avoid duplicate symbol errors.
pod 'Fabric' pod 'Crashlytics'
-
Run
pod install
-
Add a Run Script Build Phase and build your app.
-
Initialize the SDK by inserting code outlined in the Fabric.app.
-
Run your app to finish the installation.
Resources
- Documentation
- Forums
- Website
- Follow us on Twitter: @fabric and @crashlytics