xcode 更新过期的配置文件时出现问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6523669/
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-14 21:22:49  来源:igfitidea点击:

Problem renewing expired provisioning profiles

iphonexcodeapp-store-connectprovisioningadhoc

提问by Sheehan Alam

My Ad-Hoc and Distribution provisioning profiles have expired.

我的 Ad-Hoc 和分发配置文件已过期。

When I click on Renew on the AdHoc/Distribution tab from the Provisioning Portal I get kicked back to the Development Tab.

当我在 Provisioning Portal 的 AdHoc/Distribution 选项卡上单击 Renew 时,我被踢回到 Development 选项卡。

When I click on the expired provisioning profile from XCode and click on Refresh and log in with my credentials, nothing happens.

当我从 XCode 单击过期的配置文件并单击刷新并使用我的凭据登录时,没有任何反应。

How can I renew my provisioning profiles?

如何更新我的配置文件?

Note: My Distribution Certificate is also expired. iTunes Provisioning Portal gives me the option to revoke it. Do I revoke and recreate a new certificate?

注意:我的分发证书也已过期。iTunes Provisioning Portal 为我提供了撤销它的选项。我是否撤销并重新创建新证书?

回答by Sheehan Alam

  1. Remove Expired Certificates
  2. Recreate Development and Distribution Certificates
  3. Delete Development and Distribution Provisioning Profiles
  4. Recreate Development and Distribution Provisioning Profiles with new Certificate
  5. Delete all old certificates in keychain
  6. Install new provisioning profiles in XCode Organizer
  7. DONE
  1. 删除过期证书
  2. 重新创建开发和分发证书
  3. 删除开发和分发配置文件
  4. 使用新证书重新创建开发和分发配置文件
  5. 删除钥匙串中的所有旧证书
  6. 在 XCode Organizer 中安装新的配置文件
  7. 完毕

回答by Marco

I've experienced a similar issue. When trying to renew the expired provisioning profiles in Xcode's Organizer it gave the message "No value was provided for the parameter 'certificatelds'" after hitting the Renew-button.

我遇到过类似的问题。当尝试在 Xcode 的管理器中更新过期的配置文件时,它在点击更新按钮后给出消息“没有为参数‘certificatelds’提供值”。

But instead of recreating the expired provisioning profiles I was able to update them from the iOS Provisioning Portal website as a workaround. From the Distribution tab in the Provisioning section press the Modify button. Type a character the field Profile name and delete it again, so the names stays the same but the Submit button will be enabled. Press Submit.

但作为一种解决方法,我没有重新创建过期的配置文件,而是从 iOS 配置门户网站更新它们。从“供应”部分的“分发”选项卡中,按“修改”按钮。在字段配置文件名称中键入一个字符并再次删除它,这样名称保持不变,但将启用提交按钮。按提交。

In Xcode Organizer delete the expired provisioning profile(s) and press Refresh to load the renewed provisioning profile(s).

在 Xcode Organizer 中删除过期的配置文件,然后按刷新加载更新的配置文件。