Crashlytics in iOS won't proceed past “Build Your Project” in Fabric app

前端 未结 26 1161
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 01:02

I\'m installing Crashlytics for my iOS app. I downloaded it via their site link, and went through all the steps for integrating the frameworks, adding the run script, etc. <

26条回答
  •  臣服心动
    2020-11-30 01:37

    As for Xcode 10.2.1, the automated installation via Fabric Mac app won't work anymore. New apps cannot be added via the New App Step-by-step guide.

    You have to follow the manual installation instructions. Download and add the 2 frameworks into your Xcode workspace, then add the Run Build Script phase (and related Fabric codes), then build the App. Last (very important), run the app in an actual device.

    Once the App is successfully launched, the new App information will be available in the Fabric dashboard as well as the Fabric Mac App (needs to relaunch the App to see the new app).


    Here are the steps:

    1. Download the 2 frameworks
    2. Drag to your project where your App Delegate is (make sure ticked "Copy items if needed")
    3. Compile the project / workspace in Xcode
    4. Add the "Run Script Phase" as instructed here; note that Xcode 10+ requires an extra configuration at Input Files
    5. Add the required import and initialization codes in App Delegate
    6. Add the Fabric API keys in Info.plist
    7. Compile again
    8. Run the App in a real device. You will see the line Crashlytics in the Xcode log. If no log appears, checks if your active scheme contains OS_ACTIVITY_MODE settings. Set it to default if the current setting is disabled.
    9. If the Crashlytics line appears, that means the manual installation is working; you will see your App appearing at Fabric online dashboard.

提交回复
热议问题