[英]iPhone app crash immediately after update
today my app update it has been released in the store, when updated or downloaded for the first time the app immediately crash on start. 今天我的应用程序更新它已经在商店发布,当第一次更新或下载应用程序立即崩溃启动时。
I've tested the app on simulator and on device (the same where I've installed the update from the store) and I never experienced this problem. 我已经在模拟器和设备上测试了应用程序(我从商店安装更新的地方),我从未遇到过这个问题。
My update it has been submitted with Organizer after the archiving, in the Distribute section. 我的更新已在存档后通过管理器提交,在“分发”部分中。
Apple do not perform these types of controls before to release an app? Apple在发布应用程序之前不执行这些类型的控件?
Anyone experienced a similar problem? 有人遇到过类似的问题吗? I have no idea what could be the cause.. Thank you, Stefano.
我不知道可能是什么原因..谢谢你,Stefano。
Here's the best way to test a production build without deploying to the store: 这是在不部署到商店的情况下测试生产构建的最佳方法:
You should always perform two tests: 你应该总是执行两个测试:
(*) the iPhone Configuration Utility is mostly used for enterprise app deployment, but it's also useful for developers and is available as a free download for mac and windows at support.apple.com. (*)iPhone配置实用程序主要用于企业应用程序部署,但它对开发人员也很有用,可以在support.apple.com上免费下载mac和windows。 You can also use iTunes instead, but it's convoluted.
您也可以使用iTunes,但它很复杂。
As for why your app is crashing? 至于你的应用程序崩溃的原因? No idea... it could be anything.
不知道......它可能是任何东西。 Standard debugging advice applies.
标准调试建议适用。
The issue is related to the Framework. 该问题与框架有关。 I had this exact error.
我有这个确切的错误。 It wasn't a case of logic as it was crashing before the AppDelegate was even called and my usage of NSMetadataQuery was much later in the life cycle than that.
这不是一个逻辑的例子,因为它甚至在调用AppDelegate之前崩溃了,而且我对NSMetadataQuery的使用在生命周期的后期要晚得多。
It turns out that weak linking the Foundation framework was required. 事实证明,需要弱连接基金会框架。
Problem was solved by changing (under the Project Info in Xcode) the dependency option of the Foundation.framework from required to optional. 通过将Foundation.framework的依赖选项从必需更改为可选(在Xcode中的项目信息下)来解决问题。 Check for any such frameworks.
检查任何此类框架。
Try deleting any old versions of the app you have on your device, and reinstall. 尝试删除设备上的旧版应用程序,然后重新安装。 Also try on a different device, maybe with a different apple id to your developer account.
还可以尝试使用其他设备,也可以使用与开发者帐户不同的苹果ID。
This happened to our app also, and apparently, other apps too. 这也发生在我们的应用程序上,显然也是其他应用程序。 Apple is aware of the problem and is currently working on a solution.
Apple意识到了这个问题,目前正在研究解决方案。
see this article: http://techcrunch.com/2012/07/05/apple-responds-to-app-crashing-issues-has-a-dedicated-team-working-on-a-fix/ 看到这篇文章: http : //techcrunch.com/2012/07/05/apple-responds-to-app-crashing-issues-has-a-dedicated-team-working-on-a-fix/
如果您正在使用核心数据并且在最新版本中更新了数据库而没有对核心数据进行版本控制,那么应用程序在更新后的启动时会崩溃。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.