I try to integrate Fabric/Crashlytics via CocoaPods, my Podfile looks like this:
pod \'Fabric/Core\', \'1.2\'
pod \'Fabric/Crashlytics\', \'1.2\'
As mentioned in the official documentation, just update your pods repo
pod repo update
Try:
Remove Fabric and Crashlytics in podfile.
pod install
Add Fabric and Crashlytics to podfile again
pod install
Add Run script like above answer.
Hope it help.
I had to use a different path in Xcode 7 using CocoaPods 0.39:
${SRCROOT}/Pods/Fabric/Fabric.framework/run <key> <secret>
podfile:
pod 'Crashlytics'
pod 'Fabric'
I also just updated Fabric to 3.4.1, and that path ^ changed slightly to Fabric/run
. Make sure you check the bits after ${SRCROOT}
carefully and compare it to what the Fabric app recommends. See the changelog for 3.4.1 for details.
in
Fabric (1.6.7)
You should change path from
"${PODS_ROOT}/Fabric/Fabric.framework/run" YOUR_API_KEY YOUR_BUILD_SECRET
to
"${PODS_ROOT}/Fabric/run" YOUR_API_KEY YOUR_BUILD_SECRET