我为客户开发了一个 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
最佳答案
可能有几种解决方案:
您可以撤销当前分发证书并创建新证书并尝试使用它。有时证书也可能有问题。
检查您的 App ID,其格式应为“com.companyname.appname”。
检查钥匙串(keychain)中安装的多个同名证书。您应该删除任何其他具有相同名称的证书。
关于iphone - 在 iPhone 上安装自定义企业应用程序时配置文件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9793344/