Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Crashlytics without plugin via cocoapods

Is it possible to use crashlytics and fabric without installing the mac plugin for iOS?

I found this fabric pod that allows you to get the necessary frameworks for fabric to work, but when I build my app, I'm getting this message:

Fabric: This app relies on Fabric. Please sign up for access at https://fabric.io/sign_up,
install Fabric.app then ask a team member to invite you to this app's organization.

If this machine is a build server please remove Fabric.app if present and use xcodebuild so that SchoolSpring.app.dSYM is uploaded.
Command /bin/sh failed with exit code 1
like image 495
Julian B. Avatar asked Jan 29 '15 17:01

Julian B.


2 Answers

Fabric now supports installation with CocoaPods: http://docs.fabric.io/ios/fabric/cocoapods.html

If you are just looking for Crashlytics you can use these two pods:

pod 'Fabric'
pod 'Crashlytics'

Along with adding the following build phase script:

${PODS_ROOT}/Fabric/Fabric.framework/run

Run Script Build Phase

like image 108
Steven Hepting Avatar answered Nov 13 '22 08:11

Steven Hepting


There is an official pod spec now from Twitter: https://github.com/CocoaPods/Specs/tree/master/Specs/Fabric

like image 1
Andreas Avatar answered Nov 13 '22 09:11

Andreas