How can I remove crashlytics from my iOS app?

前端 未结 1 848
谎友^
谎友^ 2021-02-13 15:44

I need to remove crashlytics from my iOS app, as am using STTwitter API to get user\'s Twitter credentials from the phone. This used to work fine on my device, but now I can\'t

1条回答
  •  离开以前
    2021-02-13 16:38

    I can't say that removing crashlytics will solve your problem, but here's how you would do it:

    1) Look in your AppDelegate file. Look in the didFinishLaunchingWithOptions method. Remove the line Crashlytics.startWithAPIKey("abc123")

    2) Goto your build phases in Xcode for your target. Find the shell script that looks like ./Pods/CrashlyticsFramework/Crashlytics.framework/run somelongstringhere and remove it

    3) Find the crashlytics framework in your navigation panel of Xcode right click and either remove the reference or delete it all together. If you installed via cocoa pods then remove it from your podfile.

    4) Delete the crashlytics app from your system if you so desire by looking in your applications folder.

    0 讨论(0)
提交回复
热议问题