简体   繁体   English

如何从iOS应用中删除crashlytics?

[英]How can I remove crashlytics from my iOS app?

I need to remove crashlytics from my iOS app, as am using STTwitter API to get user's Twitter credentials from the phone. 我需要从iOS应用程序中删除crashlytics,因为我正在使用STTwitter API从手机获取用户的Twitter凭据。 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无法使用模拟器感应到问题在于它,特别是在Fabric mac app上有这个徽章,表明需要更新crashlytics但是即使我更新后仍然无法获得凭据,这个“更新徽章”会在一段时间后重新开启。

I can't say that removing crashlytics will solve your problem, but here's how you would do it: 我不能说删除crashlytics会解决你的问题,但这是你要怎么做的:

1) Look in your AppDelegate file. 1)查看AppDelegate文件。 Look in the didFinishLaunchingWithOptions method. 查看didFinishLaunchingWithOptions方法。 Remove the line Crashlytics.startWithAPIKey("abc123") 删除Crashlytics.startWithAPIKey("abc123")

2) Goto your build phases in Xcode for your target. 2)在Xcode中为您的目标转到构建阶段。 Find the shell script that looks like ./Pods/CrashlyticsFramework/Crashlytics.framework/run somelongstringhere and remove it 找到看起来像./Pods/CrashlyticsFramework/Crashlytics.framework/run somelongstringhere的shell脚本并将其删除

3) Find the crashlytics framework in your navigation panel of Xcode right click and either remove the reference or delete it all together. 3)右键单击Xco​​de导航面板中的crashlytics框架,删除引用或将其全部删除。 If you installed via cocoa pods then remove it from your podfile. 如果您通过可可豆荚安装,则将其从您的podfile中删除。

4) Delete the crashlytics app from your system if you so desire by looking in your applications folder. 4)如果您愿意,可以通过查看应用程序文件夹从系统中删除crashlytics应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从我的应用程序中删除新的回到以前的应用程序iOS 9按钮? - How can I remove the new back-to-previous-app iOS 9 button from my app? 如何从 iOS 应用程序中删除 Mac 催化剂应用程序 - How can I remove Mac catalyst app from iOS app 我无法调试/使我的应用崩溃。 OTOH Crashlytics iOS报告某些用户的现场崩溃:NSInvalidArgumentException - I can't debug/make my app crash. OTOH Crashlytics iOS reports some crashes in-field for some users: NSInvalidArgumentException 如何将 url 从浏览器共享到 iOS 中的应用程序? - How can I share a url from a browser to my app in iOS? 从Crashlytics升级到Fabric后无法构建我的应用程序 - Can't Build my app after upgrading to Fabric from Crashlytics iOS通过Deeplink打开应用程序时,如何从状态栏中删除“应用程序链接”按钮? - iOS how can I remove 'App link' button from the status bar when open app via deeplink? 如何在Crashlytics中更改iOS应用程序名称 - How to change iOS app name in Crashlytics 如何通过jenkins将iOS应用发布到crashlytics? - How to publish an iOS App to crashlytics via jenkins? 如何在Crashlytics / Fabric中更改iOS应用程序图标 - How to change an iOS app icon in Crashlytics / Fabric 如何在iOS应用中删除对英语的支持? - How do I remove support for English in my iOS app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM