iphone - 在 iPhone 上安装自定义企业应用程序时配置文件错误

标签 iphone objective-c ios

我为客户开发了一个 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

最佳答案

可能有几种解决方案:

  1. 您可以撤销当前分发证书并创建新证书并尝试使用它。有时证书也可能有问题。

  2. 检查您的 App ID,其格式应为“com.companyname.appname”。

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

关于iphone - 在 iPhone 上安装自定义企业应用程序时配置文件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9793344/

相关文章:

java - 将 Java Web 服务 WSDL 与 gsoap C 客户端一起使用时出现标记不匹配错误

iphone - UIPickerView 中的多行选择

iphone - iOS 开发 - 基本 3D 应用程序的 unity3d 替代方案

iphone - 系统声音 ID 音量

iphone - 从网络切换时如何接收来自 NSURLConnection Delegate 的数据?

IOS 9 不请求远程通知权限

c - 所有用户和组的列表

ios - URLSession 委托(delegate)不适用于 swift 4.2

ios - 我的 UITapGestureRecognizer 不工作

由 xib (nib) 文件初始化的 iOS Swift 子类化 ViewController