2012-03-20 30 views
1

我为客户端开发了iPhone企业应用程序。在iPhone上安装自定义企业应用程序时预配置配置文件错误

应用程序在所有设备上都能正常工作,但是,在一个用户的设备上,应用程序安装会给出错误 Unable to download application. <Application name> could not be installed

当应用程序图标显示安装进度时出现此错误消息。

在进一步调查中,我们发现未安装企业分发配置文件,并在控制台中看到以下日志。

Mar 19 12:44:27 unknown SpringBoard[15] : could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache com.mobility.plocator-21526CEE-3E35-4259-B04B-1EC051349CAB'

Mar 19 12:44:28 unknown SpringBoard[15] : could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/com.mobility.plocator-060A1EE8-077D-49E7-A4B4-5A12BCEB09C3'

Mar 19 12:44:28 unknown installd[525] : unable to create directory for provisioning profiles: Permission denied

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 install_embedded_profile: Could not install embedded profile: 49165

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 verify_signer_identity: Could not copy validate signature: -402620395

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.H0131I/foo_extracted/Payload/PFinder.app

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 install_application: Could not preflight application install

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 handle_install: API failed

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 send_message: failed to send mach message of 71 bytes: 10000003

Mar 19 12:44:28 unknown installd[525] : 2ff7f000 send_error: Could not send error response to client

+0

设备UDID是否包含在配置文件中(我的意思是你确实检查过它)? – 2012-03-20 20:05:45

+0

这是企业的通用分销配置文件。我不认为每个设备都必须添加到配置文件中。 – user1281732 2012-03-21 02:21:01

+0

@ user1281732可否请您建议我如何在不添加设备的UDID的情况下使用Enterprise程序(299 $)部署应用程序的最佳方式?我搜索了很多,但没有得到任何好的答案..谢谢 – 2014-02-26 17:39:47

回答

0

可以有几个解决方案:

  1. 可以撤销电流分布证书并创建新的证书,并与尝试。有时证书也可能有问题。

  2. 检查您的应用程序ID它应该格式为'com.companyname.appname'。

  3. 检查安装有相同名称的多个证书的钥匙串。您应该删除任何具有相同名称的其他证书。

相关问题