问题描述
我正在尝试安装已签名的iOS企业应用,但我在安装'无法下载应用程序时出错 - 此时无法下载APP
该应用程序似乎正确下载,我认为它可能是配置文件错误或类似的东西。我遇到的唯一一件事是我的iOS发布签名身份旁边的重置按钮。
我在这里看到了Apple文档,
是的,这听起来像你的安装正在发生什么。我不相信你用来重新加载证书的任何东西。手动尝试。
要检查的一些事项:
- 确保证书已安装在您的计算机。
- 确保您正在安装应用程序的设备已添加到您的设备列表中。
- 确保您的配置文件包含设备列表中的设备。
- 最后确保您的计算机上已安装配置文件。
不要使用GUI重置证书,只需破解终端并执行以下操作:
- 转到:$〜/ Library / MobileDevice / Provisioning Profiles
- 删除所有证书:$ rm -rf *
- 重新安装证书
我经常遇到这个问题。有时,一旦重新安装证书,证书就无法更新,所以我只是将它们全部删除。希望这会有所帮助。
I'm trying to install a signed iOS Enterprise app and I'm getting an error on installing 'Unable to Download Application - "APP" could not be downloaded at this time'
The app seems to be downloaded properly, I thought it might be a provisioning profile error or something like that. The only thing I came across was a 'reset' button next to my iOS Distribution signing identity.
I came across the Apple docs here, https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW16 in the 'Resetting Certificates Using Xcode' section and tried the 'Reset' button but it doesn't seem to do anything. When I click 'Done' and come back into this screen I'm seeing the same reset button.
Has anyone else come across this? I've spent hours trying to figure this out to no avail.
Yeah, that sounds like what's going on with your install. I wouldn't trust the whatever you're using to reload your certs. Try it manually.
A few things to check:
- Ensure that the certificate is installed on your machine.
- Ensure that the device that you're installing the application on has been added to your list of devices.
- Ensure that your provisioning profile contains your device from the list of devices.
- Lastly ensure that the provisioning profile has been installed on your machine.
Rather than resetting your certificates using the GUI just crack open the terminal and do the following:
- Go to: $~/Library/MobileDevice/Provisioning Profiles
- Remove all certs: $rm -rf *
- Reinstall your certs
I normally run into this issue. Sometimes the certs fail to update once I reinstall them so I just remove them all. Hope this helps.
这篇关于如何重置或重新创建iOS分发签名标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!