更新配置文件和证书 [英] renewing provisioning profile and certificates
问题描述
我有2个iOS证书 - 一个用于开发,一个用于分发(App Store)。两者都将在2周后到期。我在Xcode 4.4.1上。我有2个开发配置文件和4个分发配置文件。
I have 2 iOS certificates - one for development and one for distribution (App Store). Both are expiring in 2 weeks. I am on Xcode 4.4.1. I have 2 development provisioning profiles and 4 distribution provisioning profiles.
在Xcode中,我发现绑定到分发证书的所有配置文件都将在2周内过期。我进入了Organizer-> Provisioning Profiles并尝试续订,但我收到一个错误对话框,指出没有为参数'deviceids'提供值。当我在Apple Provisioning Portal上查看该配置文件时,它会显示证书在2周内到期,并且没有与之关联的设备(这是我一直这样做的方式)。
In Xcode, I see that all of the provisioning profiles tied to the distribution certificate are set to expire in 2 weeks. I went into the Organizer->Provisioning Profiles and tried to Renew, but I received an error dialog indicating that "No value was provided for the parameter 'deviceids'". When I look on the Apple Provisioning Portal for that profile, it shows that the certificate is expiring in 2 weeks and that there are no devices associated with it (which is the way I've been doing it all along).
所以 - 我正在尝试更新这些,并且之前没有这样做过。有没有人在Xcode中看到类似的错误?我是否需要先更新我的证书,如果是,如何更新?我没有在Provisioning Portal或Xcode中看到任何创建新的certifcate按钮。
So - I'm trying to renew these, and haven't done this before. Has anyone seen a similar error in Xcode? Do I need to renew my certificate first, and if so, how? I don't see any "create new certifcate" button on the Provisioning Portal or in Xcode.
推荐答案
我最近续签证书后遇到了类似问题。
I had a similar problem after I recently renewed my certificate.
以下更正了我的开发配置文件的问题:
The following corrected the issues for my Development Provisioning Profile:
- 点击刷新 Xcode管理器。
- 确保项目和的代码签名构建设置目标设置为正确的配置文件。您应该选择 iPhone Developer 以避免将来出现问题。
- 或者,从 Xcode Organizer <中设备标签中删除过期的配置文件/ strong>。
- Click Refresh in Xcode Organizer.
- Ensure the Code Signing build settings for your Project and Target are set to the proper Provisioning Profile. You should select iPhone Developer to avoid future issues.
- Optionally, remove expired profiles from Device tab in Xcode Organizer.
以下更正了我的分发配置文件的问题:
The following corrected the issues for my Distribution Provisioning Profile:
- 登录您的 iOS Developer Portal
- 转到配置下的发布标签
- 创建新的分发配置文件。
- 生成配置文件后,单击 Xcode管理器 中的刷新
- Log in to your iOS Developer Portal
- Go to the Distribution tab under Provisioning
- Create a new distribution profile.
- After the profile is generated, click Refresh in Xcode Organizer
这篇关于更新配置文件和证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!