Crashlytics integration issue

后端 未结 5 1269
死守一世寂寞
死守一世寂寞 2021-02-05 16:29

I have trouble integrating Crashlytics into my project.

Having follow instruction on website. But soon after installing the Crashlytics mac app<

5条回答
  •  遇见更好的自我
    2021-02-05 16:50

    In the Build Phases of your target, click the + Add a Build Phase button in the bottom right and select Add Run Script. In the Crashlytics mac plugin, you should be given a run script to copy into this run script build phase. It will look like this:

    ./Crashlytics.framework/run 
    

    Except your api key will be a 40 digit number provided by the plugin.

    in your app delegate:

    #import 
    

    In didFinishLaunchingWithOptions write the following line to start your Crashlytics session.

    [Crashlytics startWithAPIKey:];
    

    is the same number in the run script.

提交回复
热议问题