我正在开发一个 iPhone 应用程序。
由于应用程序具有位置感知功能,因此我正在不同的地方(我不在场的地方)对其进行测试。
为此,我向我的朋友发送了 .mobileprovision 配置文件和应用程序临时构建。
但最后应用程序安装停止在中间。
在设备日志中,它给了我以下日志:
2:42:30 unknown mobile_installationd[164] <Error>: 00808800 install_embedded_profile: Skipping the installation of the embedded profile
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 verify_executable: Could not validate signature: e8008017
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 preflight_application_install: Could not verify /var/tmp/install_staging.HreENJ/foo_extracted/Payload/RestaurantApp .app/RestaurantApp
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 install_application: Could not preflight application install
Wed Nov 11 12:42:31 unknown mobile_installation_proxy[163] <Error>: handle_install: Installation failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 handle_install: API failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_message: failed to send mach message of 64 bytes: 10000003
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_error: Could not send error response to client
那么谁能告诉我这个错误说明了什么,所以安装失败了?
我发现这是一个非常常见且令人沮丧的问题。甚至没有一个人有完美的解决方案。
苹果技术说明:http://developer.apple.com/iphone/library/technotes/tn2009/tn2242.html http://developer.apple.com/iphone/library/technotes/tn2009/tn2242.html
看起来你的配置文件在某种程度上是愚蠢的。现在我通常会解决这个问题:
- 删除整个构建文件夹。全部清理should为你做这件事,但似乎有时会留下一些东西
- 在开发者中心查看设备ID。如果需要,请编辑它。
- 再次下载配置文件。
- 再次安装配置文件。
- 退出 Xcode 并重新加载。
- 确保您已将 Xcode 设置为使用新的临时配置文件,而不是您的开发人员配置文件,作为您将用于存档的配置的代码签名身份。
- Build
- 立即获取可执行文件的副本
如果有某种方法可以找出哪个步骤出了问题,那就太好了,但在这种情况发生之前,通常最好从头开始,除非您有非常耐心的(或本地的)测试人员。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)