在iPhone中adhoc app安装失败,为什么?

har*_*alb 16 iphone installation adhoc

我正在开发一个iPhone应用程序.

由于应用程序是位置感知我在不同的地方测试它(我不在的地方).

为此,我正在向我的朋友发送.mobileprovision配置文件和应用程序adhoc构建.

但在他的最后,应用程序安装在两者之间停止.

在设备日志中,它给我以下日志:

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
Run Code Online (Sandbox Code Playgroud)

那么有谁能告诉我这个错误说的是什么,所以安装失败了?

我发现这是一个非常普遍且令人沮丧的问题.甚至没有一个人拥有完美的解决方案.

苹果技术说明:http://developer.apple.com/iphone/library/technotes/tn2009/tn2242.html

Ste*_*ton 23

看起来您的配置文件在某种程度上是duff.现在我正常解决这个问题:

  1. 删除整个构建文件夹.清洁所有应该为你做这件事,但似乎不时留下一些东西
  2. 检查开发人员中心中的设备ID.如果需要,请编辑它.
  3. 再次下载配置文件.
  4. 再次安装配置文件.
  5. 退出XCode并重新加载.
  6. 确保您已将XCode设置为使用新的临时配置文件而非开发人员配置文件,以获取将用于存档的配置的代码签名标识.
  7. 建立
  8. 立即获取可执行文件的副本

如果有某种方法可以找到哪个步骤出错,那将会很简洁,但是直到发生这种情况通常最好只是从头开始,除非你有非常耐心(或本地)的测试人员.