XE4 iOS应用程序:无法安装软件包。 (e8008015)

时间:2013-04-29 21:28:38

标签: ios delphi firemonkey delphi-xe4

我参加了XE4测试版,尽管存在永远无法生成.ipa的问题(Delphi中的错误信息“Invalid ipa选项”),该应用程序总是实际部署到设备,但从未创建过Mac scratch-dir。

如果我将paclient命令复制并粘贴到命令提示符中,它就可以了。我的质量控制问题已经解决了,但事实并非如此。

现在使用XE4,使用与测试版相同的设置,我在部署到设备时遇到此错误:

Unable to launch process on '10.0.0.60' using the parameters from the 'Delphi_XE4' profile.
The following error was returned: 'Unable to install package. (e8008015)'

该应用程序部署到XCode Simulator确定,因此连接详细信息是正确的。在部署期间,我可以看到PAServer接受Mac上的命令,但无论我使用Debug还是Ad-hoc构建类型,我都会收到此错误。

我检查了XCode中的设备日志,发现了以下内容:

Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 handle_install: Install of "/var/mobile/Media/PublicStaging/iOS_Location.app" requested by mobile_installation_proxy
Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 MobileInstallationInstall_Server: Installing app iOS_Location
Apr 29 08:48:37 Js-iPhone-4S installd[54] <Error>: Apr 29 08:48:37 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.XRYC1t/iOS_Location.app/iOS_Location: 0xe8008015
Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.XRYC1t/iOS_Location.app
Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 install_application: Could not preflight application install
Apr 29 08:48:38 Js-iPhone-4S mobile_installation_proxy[1595] <Error>: 0x3baabb88 MobileInstallationInstall: failed with -1
Apr 29 08:48:38 Js-iPhone-4S mobile_installation_proxy[1595] <Error>: handle_install: Installation failed
Apr 29 08:48:38 Js-iPhone-4S installd[54] <Error>: 0x2ffed000 handle_install: API failed

似乎代码签名阶段无效,即使我使用的是与我在整个测试过程中使用的相同的移动设备。我已经浏览了Docwiki中的所有阶段,但没有任何改变这个错误。我的iPhone开发人员和分发证书有效,只有几个月的时间。

这在我的项目以及随XE4安装的任何示例项目中都会发生。在上面的日志中,我使用的是iOS_Location示例。

我很沮丧,因为我看到测试版工作但现在无法让完整的版本发挥作用。我确信这是环保的,但我的想法已经不多了。

XE3安装在同一台PC上,但论坛建议这没关系。 Mac上的XCode完全是最新的。 请记住,它会在mac上部署到模拟器上。

任何帮助都将不胜感激。

2 个答案:

答案 0 :(得分:4)

我发现了造成这种情况的原因。虽然我选择了Debug或Release作为目标构建类型,但我没有在iOS设备平台下选择“Ad-hoc”。

答案 1 :(得分:-1)

出现此错误的原因是目标iOS设备尚未配置您在RAD Studio中配置的配置文件。 provision the target device with the configured provisioning profile,或将RAD Studio项目配置更改为其他配置文件。见Completing the Provisioning Page。 确保您在RAD Studio中的配置数据与您的iOS开发者帐户匹配,而不是与Mac开发者帐户匹配。指定iOS developer certificate name时要特别小心。