【问题标题】:ipad/iphone deployment to device via monotouch通过 monotouch 将 ipad/iphone 部署到设备
【发布时间】:2012-04-04 10:27:06
【问题描述】:

我已经构建了 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  

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

【问题讨论】:

    标签: iphone xcode ipad mono xamarin.ios


    【解决方案1】:

    关键部分是这样的:

    Could not copy validate signature: -402620393
    

    如果你google这个错误,你会发现很多想法:

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

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

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

    【讨论】:

      【解决方案2】:

      我遇到了同样的问题,但它原来是由项目选项“可执行文件”设置设置为“使用 GUI 可执行文件”而不是“可执行文件”引起的

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-06-06
        • 2015-08-24
        • 2023-01-15
        • 1970-01-01
        • 1970-01-01
        • 2016-11-01
        • 1970-01-01
        • 2012-03-20
        相关资源
        最近更新 更多