Configure Firebase Crashlytics on iOS?

I am trying to integrate Firebase Crashlytics into my iOS app that has the Firebase Crash Reporting feature enabled . I followed the documentation here , but my build always fails when completing the custom build phase:

"${PODS_ROOT}/Fabric/run"

The error in Xcode is this:

error: Fabric: configuration problem

Fabric API key is not valid. The fabric start script assembly phase should contain your API key: ./ Fabric.framework / run INSERT_YOUR_API_KEY INSERT_YOUR_BUILD_SECRET

I don't have a Fabric API key, and I believe these Fabric keys should take care of the Firebase library. I have Info.plist in my project, Firebase is fully functional, but I cannot go through the Fabric launch phase. Any help on how to fix this is greatly appreciated!

+37
source share
5 answers

Finally, it turned out the publication is for anyone who might be puzzled by the same problem.

If you tried to install the fabric through OSX Fabric.app, it will add your Fabric API to your Info.plist, which is trying to create a (wy70) Fabric script initialization assembly.

Fabric info.plist script, - /.

Firebase .

+127

https://fabric.io/kits/ios/crashlytics/install Info.plist, .

-, " ". "Run Script" .

Xcode 10.1 Fabric 1.7.5 Crashlytics 3.10.4

+2

, . . .

, .

  1. Fabric RunScript, , GettingStarted $(INFOPLIST_PATH) GoogleService-Info.plist.

  2. Info.plist Fabric. : <key>Fabric</key><dict>...</dict>. , .

  3. [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5... blah blah blah, [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5... blah blah blah, (shift + cmd + k).

, Firebase.

: Xcode 10.2.1 | 1.9 | Crashlytics 3.12

+1

  • crashlytics ( ),

    1. Info.plist ( )
    2. ( "${PODS_ROOT}/Fabric/run" "${PODS_ROOT}/Fabric/run" key1 key2 Run )
  • crashlytics ( firebase crashlytics), .

0

, Fabric info.plist

0

All Articles