偶尔我遇到一个问题,就是配置一个带有开发版应用程序的设备.错误消息通常是"找不到此可执行文件的有效配置文件".
我遵循了Apple的所有说明:我有一个有效的开发证书,开发人员配置文件包含有问题的设备的设备ID,在构建期间协同工作.我为我的开发者身份设置了签名身份,Xcode与开发配置配置文件匹配就像它应该的那样.
然后,当我尝试通过在xcode中执行'build/run'来在设备上安装应用程序时,我得到上面描述的错误,而且我完全失去了.它可以在任何数量的其他设备上正常工作,但由于某种原因,有一些设备可以对此进程进行轰炸.
以下是设备上安装失败的控制台日志:
Sat Sep 18 11:41:14 unknown SpringBoard[27] <Warning>: Reloading and rendering all application icons.
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 verify_signer_identity: Could not copy validate signature: -402620395
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.pJ8ST8/MyApp.app
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 install_application: Could not preflight application install
Sat Sep 18 11:41:36 unknown mobile_installation_proxy[855] <Error>: handle_install: Installation failed
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 handle_install: API failed
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 send_message: failed to send mach message of 64 bytes: 10000003
Sat Sep 18 11:41:36 unknown installd[820] <Error>: 00503000 send_error: Could not send error response to client
Sat Sep 18 11:42:32 unknown MobileMail[809] <Warning>: SecItemCopyMatching result: -25300
Sat Sep 18 11:42:37 unknown MobileMail[809] <Warning>: SecItemCopyMatching result: -25300
Sat Sep 18 11:43:32 unknown CommCenter[31] <Notice>: com.apple.persistentconnection[MobileMail,809] is releasing its assertion on PDP context 0.
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 verify_signer_identity: Could not copy validate signature: -402620395
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.cgJjHu/MyApp.app
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 install_application: Could not preflight application install
Sat Sep 18 11:44:53 unknown mobile_installation_proxy[867] <Error>: handle_install: Installation failed
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 handle_install: API failed
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 send_message: failed to send mach message of 64 bytes: 10000003
Sat Sep 18 11:44:53 unknown installd[866] <Error>: 00503000 send_error: Could not send error response to client
Run Code Online (Sandbox Code Playgroud)
我和团队遇到了和你一样的问题。除了客户 iPod 之外,它可以在许多设备上正常工作。我们尝试从头开始创造一切。应用程序 ID、配置、构建。没有运气。
因此,在回顾了http://boga.wordpress.com/2008/07/16/debugging-ipod-provision-profilescertificates/上的精彩文章之后
因此,我使用 Organize 来与 iTunes Connect 站点同步配置。然后使用 TextEdit (Vim) 检查配置文件。
这条线应该会出现。之后我的部署就特别成功了。
<key>Entitlements</key>
<dict>
<key>application-identifier</key>
<string>H33HFFQMS8.icpsstock</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>H33HFFQMS8.*</string>
</array>
</dict>
Run Code Online (Sandbox Code Playgroud)
希望这有帮助,我的配置如下。
| 归档时间: |
|
| 查看次数: |
10368 次 |
| 最近记录: |