1

我已经多次看到这个问题,但我的确切情况似乎并不适用。希望有人可以提供帮助!

我正在将一个应用程序部署到 iPad。我使用开发配置文件开发它,并且可以毫无问题地将其部署到分配的设备。一切都很好。

所以我准备分发它。我们正在使用 Enterprise Ad-Hoc 分发,并且是 Apple Enterprise Developer 计划的一部分。我为应用程序创建了一个分发配置文件,下载了配置文件并将其加载到 Xcode 中,获得了适当的证书,因此它被干净地签名。我使用应用程序的分发配置文件显式构建了分发。但是,当我尝试安装时,我们得到了臭名昭著的“无法加载应用程序,此时无法安装应用程序”。设备控制台出现以下错误:

Aug  9 10:50:43 unknown installd[12695] <Error>: entitlement 'get-task-allow' has value not permitted by a provisioning profile
Aug  9 10:50:43 unknown installd[12695] <Error>: entitlement 'get-task-allow' has value not permitted by a provisioning profile
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 verify_signer_identity: Could not copy validate signature: -402620394
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.xU9kDU/foo_extracted/Payload/APP.app
Aug  9 10:50:43 unknown com.apple.itunesstored[12694] <Notice>: MobileInstallationInstall: failed with -1
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 install_application: Could not preflight application install
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 handle_install: API failed
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 send_message: failed to send mach message of 71 bytes: 10000003
Aug  9 10:50:43 unknown installd[12695] <Error>: 2ffba000 send_error: Could not send error response to client
Aug  9 10:50:54 unknown lockdownd[26] <Notice>: 00381000 lockssl_handshake: SSLHandshake returned -9806
Aug  9 10:50:54 unknown lockdownd[26] <Notice>: 00381000 handle_start_session: Could not enable SSL. Closing connection.
Aug  9 10:50:54 unknown notification_proxy[12630] <Error>: Could not receive size of message: 0 Invalid argument
Aug  9 10:50:54 unknown notification_proxy[12630] <Error>: Could not receive message
Aug  9 10:50:54 unknown notification_proxy[12626] <Error>: Could not receive size of message: 0 Invalid argument
Aug  9 10:50:54 unknown notification_proxy[12626] <Error>: Could not receive message
Aug  9 10:51:03 unknown kernel[0] <Debug>: lockbot[12696] Builtin profile: gputoolsd (sandbox)

关于我做错了什么的任何想法?这似乎暗示配置文件不正确,但我肯定使用包含应用程序的分发配置文件。它还暗示了 SSL 问题。托管可分发内容的站点未启用 SSL,但这似乎不是必需的。

提前致谢。

4

1 回答 1

0

显然,当您升级 iOS 开发者程序订阅时,您需要创建新的分发证书(并且该证书应该由 Team Agent 创建)。见这篇文章:

https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ProvisioningDevelopment/ProvisioningDevelopment.html#//apple_ref/doc/uid/TP40008194-CH104-SW1

于 2012-10-18T18:42:43.237 回答