如何从iOS应用中删除crashlytics? [英] How can I remove crashlytics from my iOS app?

查看:98
本文介绍了如何从iOS应用中删除crashlytics?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从iOS应用中删除crashlytics,因为我正在使用STTwitter API从手机获取用户的Twitter凭据。这曾经在我的设备上正常工作,但现在由于某些原因我无法获得凭据,经过一些挖掘我发现我仍然可以在模拟器上获取凭据,因为crashlytics无法与模拟器一起感知问题在于它,特别是在Fabric mac app上有这个徽章,表明需要更新崩溃,但即使我更新后仍然无法获得凭据,这个更新徽章会在一段时间后重新开启。

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 get the credentials for some reason, after some digging I found that I can still get the credentials on the simulator and since crashlytics doesn't work with the simulator am sensing the problem is with it, specially that there's this badge on Fabric mac app which indicates that crashlytics needs to be updated but even after I update it still I can not get the credentials and this "update badge" is back on after a while.

推荐答案

我不能说删除crashlytics会解决你的问题,但是你可以这样做:

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

1)查看 AppDelegate 文件。查看 didFinishLaunchingWithOptions 方法。删除行 Crashlytics.startWithAPIKey(abc123)

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

2)在Xcode中为您的目标转到构建阶段。找到看起来像 ./ Pods / CrashlyticsFramework / Crashlytics.framework /运行somelongstringhere 的shell脚本并将其删除

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)右键单击Xco​​de导航面板中的crashlytics框架,删除引用或将其全部删除。如果您通过可可豆荚安装,则将其从您的podfile中删除。

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)如果您愿意,可以通过查看您的应用程序文件夹从系统中删除crashlytics应用程序。

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

这篇关于如何从iOS应用中删除crashlytics?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆