供应资料地狱 [英] provisioning profile hell

查看:84
本文介绍了供应资料地狱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

偶尔我遇到了一个配置应用程序开发版设备的问题。错误消息通常是找不到此可执行文件的有效配置文件。

once in a while I run across a problem with provisioning a device with a dev version of an app . The error message is usually "a valid provisioning profile for this executable was not found".

我已遵循所有Apple说明:我有一个有效的开发证书,开发人员供应配置文件包括有问题的设备的设备ID,代码签名在构建期间工作。我为我的开发人员身份设置了签名身份,Xcode与开发配置文件一致,就像它应该的那样。

I have followed all the Apple instructions: I have a valid dev certificate, the developer provisioning profile includes the device ID of the device in question, codesigning works during build. I have the signing identity set for my developer identity, which Xcode matches up with the development provisioning profile just like it should.

然后,当我尝试通过在xcode中执行'build / run'来在设备上安装应用程序时,我得到上面描述的错误,而且我在全部损失。它可以在任何数量的其他设备上正常工作,但由于某些原因,有一些设备可以对此进程进行轰炸。

Then, when I try to install the app on the device by doing a 'build/run' in xcode, I get the error described above, and I'm at a total loss. It works just fine on any number of other devices, but for some reason, there are a few devices for which this process bombs.

这是安装失败的控制台日志在设备上:

Here's the console log for the failed install on the device:

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


推荐答案

团队与我遇到了同样的问题。它可以很好地与许多设备,除了客户iPod。我们尝试从头开始创建一切。 App ID,Provision,Build。没有运气。

Team and I ran into same issue as you. It work fine with many device except the customer iPod. We try to create everything from scratch. App ID, Provision, Build. No Luck.

所以,经过审查 http://boga.wordpress.com/2008/07/16/debugging-ipod-provision-profilescertificates/

所以,我使用Organize与iTunes Connect网站同步配置。然后使用TextEdit(Vim)检查配置文件。

so, I use the Organize to sync provision with iTunes Connect site. then check provision file with TextEdit (Vim).

此行应出现。之后我使用Adhoc成功部署。

this line should be appear. After that my deploy with Adhoc success.

<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>

希望这个帮助,我的配置如下所示。

Hope this help, my configuration looks like this.


  1. 目标iOS 3.1.3

  2. 基础SDK 4.2

  3. LLVM GCC 4.2构建

  4. Entitlement.plist中的get-task-allow必须为false

  5. 使用iTunes Connect同步管理器的规定

  1. Target iOS 3.1.3
  2. Base SDK 4.2
  3. LLVM GCC 4.2 Build
  4. get-task-allow in Entitlement.plist must be false
  5. Sync Organizer's provision with iTunes Connect

这篇关于供应资料地狱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆