5

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
CalvT
  • 3,123
  • 6
  • 37
  • 54
Julian B.
  • 3,605
  • 2
  • 29
  • 38

2 Answers2

7

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

Steven Hepting
  • 12,394
  • 8
  • 40
  • 50
  • Wow so this means I can use the standard cocoapods procedures to install it? no add-ons needed? Me happy! – Julian B. Jul 16 '15 at 06:06
1

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

Andreas
  • 183
  • 1
  • 10
  • Is that pod spec official? It looks like it was put together by an independent developer. Reading through the 'Issues' it also looks like it is a few versions behind the current. – JiuJitsuCoder May 20 '15 at 18:48
  • Just as a heads up. That link *now* points to the official Spec from Twitter. Before last week it had been a third-party Spec that pointed to the frameworks publicly available online (but unsupported distributed through CocoaPods). – Steven Hepting Jul 17 '15 at 21:46