代码签名错误:未找到包含任何钥匙串签名证书的未到期配置文件 [英] Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates
问题描述
我想我已经达到了 iOS
配置地狱的最低点。迁移到新的Mac并进行存档以进行分发后,我收到错误:
I think I've reached the nadir of iOS
provisioning hell. After migrating to a new mac and doing an archive for distribution, I received the error:
代码签名错误:未找到任何未过期的配置文件包含
任何钥匙串的签名证书
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates
然后我删除所有证书和密钥以及配置文件并执行硬重置 (删除所有密钥,证书和配置文件),按照Apple的说明手动执行,但出现相同的错误。然后我做了另一个硬重置,然后Xcode通过管理器处理整个事情,做了另一个存档 - 只看到相同的错误。
I then erased all certs and keys and provision profiles and did a "hard reset" (deleting all keys, certs, and profiles), following Apple's instructions by hand, with the same error. Then I did another hard reset and then had Xcode handle the whole thing via the Organizer, did another archive - only to see the same error.
我有所有证书( WDRCA
,开发者ID证书颁发机构
, iPhone Dev
,<$在钥匙串访问中显示的c $ c> iPhone Distribution ), Xcode
表明它看到了开发和分发证书,以及配置文件,全部标有绿色复选标记和有效状态。
I have all certs (WDRCA
, Developer ID Cert Authority
, iPhone Dev
, iPhone Distribution
) showing in Keychain Access, Xcode
shows that it sees the dev and distribution certs, as well as the provisioning profiles, all marked with a green checkmark and "valid" status.
应用程序内的代码签名显示选择了正确的开发和分发。
Code signing within the app show the correct dev and distribution is selected.
真正令人不安的是Google搜索错误显示不太有用,2条推文,3条日语结果 - 没有别的。我联系了其中一个tweeps,他说他用一个很难的结果修复了它,我做了两次。
What's really troubling is that a Google search on the error shows one tech note from Apple that isn't very helpful, 2 tweets, and 3 results in Japanese - and nothing else. I contacted one of the tweeps and he said he fixed it with a hard result, which I have done twice.
关于去哪里或下一步做什么的想法?
Any ideas on where to go or what to do next?
推荐答案
经过九个小时的拔毛,诅咒并将头埋在我的手中......我所要做的就是创造一个新项目,手动传输文件,错误就消失了。 Argh。
After nine hours of hair pulling, cursing and burying my head in my hands... All I had to do was create a new project, transfer the files over by hand, and the error went away. Argh.
更新:我将自己的答案标记为正确并不代表其他答案错误 - 我没有机会尝试其中任何一个。
Update: My marking my own answer as correct does not mean these other answers were wrong - I didn't get a chance to try any of them.
这篇关于代码签名错误:未找到包含任何钥匙串签名证书的未到期配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!