xcode 如何重置或重新创建 iOS 分发签名标识

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/33814665/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:13:45  来源:igfitidea点击:

How can I reset or recreate iOS Distribution Signing Identity

iosxcodexamarin

提问by Richard Edwards

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'

我正在尝试安装已签名的 iOS 企业应用程序,但在安装“无法下载应用程序 - 此时无法下载“应用程序”时出现错误”

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.

该应用程序似乎已正确下载,我认为这可能是配置文件错误或类似问题。我唯一遇到的是我的 iOS 发行版签名标识旁边的“重置”按钮。

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-SW16in 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.

我碰到了苹果文档这里,https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW16在“使用 Xcode 重置证书”部分并尝试了“重置”按钮,但似乎没有任何作用。当我单击“完成”并返回此屏幕时,我看到了相同的重置按钮。

Has anyone else come across this? I've spent hours trying to figure this out to no avail.

有没有其他人遇到过这个?我花了几个小时试图解决这个问题,但无济于事。

Developer Account Signing Identities

开发者帐户签名身份

采纳答案by Fullmetal_Alchemist_Fan

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:

无需使用 GUI 重置您的证书,只需打开终端并执行以下操作:

  • Go to: $~/Library/MobileDevice/Provisioning Profiles
  • Remove all certs: $rm -rf *
  • Reinstall your certs
  • 转到:$~/Library/MobileDevice/Provisioning Profiles
  • 删除所有证书:$rm -rf *
  • 重新安装您的证书

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.

我通常会遇到这个问题。有时,一旦我重新安装证书,它们就无法更新,因此我将它们全部删除。希望这可以帮助。