简体   繁体   English

“未找到包含任何钥匙串签名证书的未过期配置文件”恐怖

[英]"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.昨天我天真地在设备列表中添加了一个设备。

Question:题:

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..我读过人们不得不拆除一切并重建的恐怖故事,我希望我不必在这里这样做。

Related question:相关问题:
Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates 代码签名错误:未找到包含任何钥匙串签名证书的未过期配置文件

iOS distribution is such a pain in the ass: This worked for me (follow the steps in this order): iOS 分发实在是太麻烦了:这对我有用(按此顺序执行步骤):

1) in the xcode organizer: 1)在xcode组织者:

  • delete all provisioning profiles删除所有配置文件

2) in the mac os x keychain: 2) 在 mac os x 钥匙串中:

  • delete all iOS dev certificates删除所有 iOS 开发证书

3) go to developer.apple.com 3) go 到 developer.apple.com

  • 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.)撤销所有证书(编辑:一些 redditor 指出,如果你在更大的团队中工作,这不是一个好主意。如果是这种情况,请尝试删除过期的证书。)

4) go back to the xcode organizer: 4)go回xcode主办方:

  • click refresh (bottom right) under the provisioning profiles tab and login单击配置文件选项卡下的刷新(右下角)并登录
  • List item项目清单

on the popups click the positive button在弹出窗口中单击正按钮

5) in your xcode project go to the "build settings" tab 5) 在你的 xcode 项目 go 到“build settings”选项卡

  • under code signing pick the dev.在代码签名下选择开发人员。 and distr.和分布。 identities身份
  • if they are not there or not valid go to developer.apple.com and navigate to "provisioning" if they are invalid just click modify and save them again如果它们不存在或无效 go 到 developer.apple.com 并导航到“配置”如果它们无效只需单击修改并再次保存

6) go back to the xcode organizer: 6)go回xcode主办方:

  • hit refresh again (bottom right)再次点击刷新(右下角)

Today I've installed Xcode 4.3.2 , and immediately had the same problem, First trying to archive distribution, and after that In a clean new project.今天我安装了Xcode 4.3.2 ,并立即遇到了同样的问题,首先尝试存档分发,然后在一个干净的新项目中。 trying to run on a device.试图在设备上运行。 I fixed both problems.我解决了这两个问题。

1. For successful distribution I've downloaded and installed my distribution certificate from iOS provisioning portal, after that in Xcode I've setup Code Signing Identity correctly. 1.为了成功分发,我已经从 iOS 配置门户下载并安装了我的分发证书,之后在 Xcode 中我已经正确设置了Code Signing Identity This solved my problem with archiving.这解决了我的归档问题。

2. I had the same problem creating new project and trying to run on device. 2.我在创建新项目并尝试在设备上运行时遇到了同样的问题。 Again in provisioning portal in certificates I've deleted my development cert.再次在certificates中的配置门户中,我删除了我的开发证书。 Also I deleted all development provision profiles.我还删除了所有开发配置文件。 Also deleted them from organiser.还从组织者中删除了它们。 Then I added the device again.然后我再次添加了设备。 Hope this helps!希望这可以帮助!

For me just hit the "Refresh Button" at the bottom right was the answer !对我来说,只要点击右下角的“刷新按钮”就是答案!

Hope I can help someone.希望我能帮助别人。

I got this error when I the bundle identifier for my app did not match the provisioning profile I was trying to use with it.当我的应用程序的捆绑包标识符与我尝试使用它的配置文件不匹配时,我收到了这个错误。

I came across this today.我今天遇到了这个。 It turns out that after I cleaned up my devices list (removed a few I'm no longer doing development for) it made some of my development certificates invalid.事实证明,在我清理了我的设备列表(删除了一些我不再为其开发)之后,它使我的一些开发证书无效。 I deleted those from the provisioning profiles and regenerated them.我从配置文件中删除了那些并重新生成了它们。

I have Xcode 5.1 and i fixed the issue like this我有 Xcode 5.1,我解决了这样的问题

Xcode -> Preferences -> Accounts -> View details -> Refresh button (Bottom Left) Xcode -> 首选项 -> 帐户 -> 查看详细信息 -> 刷新按钮(左下角)

After it was refreshed i clicked done, and the error was gone:)刷新后我点击完成,错误消失了:)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “代码签名错误:找不到包含任何钥匙串签名证书的未过期配置文件” - “Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates” ios-未找到未过期的配置文件,其中包含任何钥匙串的签名证书 - ios - No unexpired provisioning profiles found that contain any of the keychain's signing certificates 代码签名错误:找不到包含任何钥匙串签名证书的未过期配置文件 - Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates iOS - 存档错误:没有未过期的配置文件,其中包含任何钥匙串签名证书 - iOS - Archiving error: no unexpired provisioning profiles that contain any of the keychains signing certificates 设置配置文件后,找不到代码签名 - After Provisioning profiles are made, code signing not found Swift钥匙串和配置文件 - Swift keychain and provisioning profiles 供应配置文件,证书等 - Provisioning Profiles, certificates and such 代码签名错误:未找到匹配的配置文件:未找到与适用的签名身份匹配的配置文件 - Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found 无法解决此问题没有找到匹配的配置文件:找不到与适用的签名身份匹配的配置文件 - unable to resolve this No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found iOS 中的钥匙串访问和配置文件 - Keychain access in iOS and provisioning profiles
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM