0

我已经构建了 2 个应用程序:一个用于 iPhone,一个用于 iPad。它们都构建得非常好并在模拟器中运行。在更新到 Xcode 4.3.2 之前,它们在设备上也运行良好。
当我使用 MonoTouch 构建设备时,我收到以下消息:

Please ensure your device is connected...  
Connected to: Steve’s iPad  
Initializing file service...  
Uploading application  
Finalizing file service...   
Installing application  
Installation failed: AMDeviceInstallApplication returned: 0xe8008017  
The application was terminated by a signal: SIGHUP  

当我通过 Xcode/Organizer 查看控制台时,我看到以下消息:

Apr  4 10:22:22 unknown installd[819] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45  
Apr  4 10:22:22 unknown installd[819] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary  
Apr  4 10:22:22 unknown com.apple.mobile.lockdown[17] <Notice>: Could not receive size of message  
Apr  4 10:22:22 unknown lockdownd[17] <Error>: 010f4000 handle_connection: Could not receive USB message #6 from Xcode. Killing connection  

Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 verify_signer_identity: Could not copy validate signature: -402620393  
Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.5kF0E7/EastmaniPad.app  
Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 install_application: Could not preflight application install  
Apr  4 10:22:23 unknown mobile_installation_proxy[818] <Error>: handle_install: Installation failed  
Apr  4 10:22:23 unknown com.apple.mobile.lockdown[17] <Notice>: Could not receive size of messageCould not receive size of message  
Apr  4 10:22:23 unknown lockdownd[17] <Error>: 2fff5000 handle_connection: Could not receive USB message #7 from mtouch. Killing connection  
Apr  4 10:22:23 unknown lockdownd[17] <Error>: 2fef1000 handle_connection: Could not receive USB message #14 from mtouch. Killing connection  
Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 handle_install: API failed  
Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 send_message: failed to send mach message of 71 bytes: 10000003  
Apr  4 10:22:23 unknown installd[819] <Error>: 2ffa4000 send_error: Could not send error response to client  

有没有其他人遇到过这个问题,或者有没有人有能力更好地破译上面的堆栈跟踪?

4

2 回答 2

3

关键部分是这样的:

Could not copy validate signature: -402620393

如果你google这个错误,你会发现一些想法:

  • 请先从设备中手动删除该应用程序,然后再次尝试上传。
  • 确保配置文件在 Xcode 中正确配置。这通常意味着将它们全部删除并重新下载。

我也可以提出一些我自己的想法:

  • 检查模板中的新项目是否发生同样的事情。如果可行,则说明您的应用程序中存在导致签名验证失败的问题。
  • 检查新的 Xcode 项目是否发生同样的事情(如果它有效,请再试一次您的项目;Xcode 知道在某些情况下会进行一些自动配置)
  • 重新启动您的设备和 Mac。
  • 如果您有其他设备,请在那里尝试。
于 2012-04-04T11:17:48.723 回答
0

我有同样的问题,但它原来是由项目选项“可执行”设置被设置为“带 GUI的可执行文件”而不是“可执行文件”引起的

于 2013-04-28T15:20:34.757 回答