“未找到任何未过期的配置文件,其中包含任何钥匙串的签名证书”恐怖 [英] "No unexpired provisioning profiles found that contain any of the keychain's signing certificates" Horror
问题描述
我已经看到了一些其他问题可以解决这个问题,但没有一个像我一样。昨天我无辜地将设备添加到设备列表中。
I have seen a few other questions that addressed this topic but none like mine. Yesterday I innocently added a device to the list of devices.
问题:
我的印象是,一旦您添加设备,它现在将链接到配置文件。但是,我认为它与我的某个分发配置文件没有关联。所以我进入编辑配置文件,点击设备旁边的复选标记,然后点击提交。这就是问题开始的地方。
I am under the impression that once you add a device, it will now be linked to the provisioning profile. However, I believe it was not linked to one of my distribution profiles. So I went into edit the profile, clicked the checkmark next to the device, and hit submit. This is where the problems began.
我注意到两件事:我最近在一周前更新了我的证书/配置文件。现在,它认为我昨天更新了我的配置文件(或者至少在组织者中这样说)。
I notice two things: I recently renewed my certificate/provisioning profiles about a week ago. Now, it thinks I renewed my provisioning profile yesterday ( or at least it says so in the organiser ).
此外,当我尝试构建任何项目时,我得到了可怕的找不到包含任何钥匙串签名证书的未过期配置文件。在构建设置中,我的签名身份显示在身份下,没有配置配置文件。我读过恐怖故事,人们不得不把一切都拆掉并重建,我希望我不必这样做..
Also, when I try to build any project I get the awful "No unexpired provisioning profiles found that contain any of the keychain's signing certificates". In the build settings my signing identity shows up under Identities without provisioning profiles. I have read horror stories of people having to tear everything down and rebuild and I hope I don't have to do that here..
推荐答案
iOS发布是如此痛苦的屁股!这对我有用(按照此顺序中的步骤):
iOS distribution is such a pain in the ass! This worked for me (follow the steps in this order):
1)在xcode组织者中:
1) in the xcode organizer:
- 删除所有配置文件
2)在mac os x keychain中:
2) in the mac os x keychain:
- 删除所有iOS开发证书
3)转到developer.apple .com
3) go to developer.apple.com
- 登录会员中心
- 撤销所有证书(编辑: 一些redditors指出,如果你在一个更大的团队工作,这不是一个好主意。如果是这样的话,试着删除过期的那些。)
- log in to the member center
- revoke all certificates (edit: some redditors pointed out that this isn't a good idea if you're working in a bigger team. If that's the case try just deleting expired ones.)
4)返回xcode组织者:
4) go back to the xcode organizer:
- 点击设置下的刷新(右下角)个人资料标签和
登录 - 列表项
在弹出窗口点击肯定您的xcode项目中的按钮
on the popups click the positive button
5)转到构建设置标签
5) in your xcode project go to the "build settings" tab
- 代码签名选择开发。和分发身份
- 如果他们不存在或无效,请访问developer.apple.com并导航到配置,如果它们无效,只需点击修改并再次保存
6)回到xcode组织者:
6) go back to the xcode organizer:
- 点击刷新再次(右下)
这篇关于“未找到任何未过期的配置文件,其中包含任何钥匙串的签名证书”恐怖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!