xcode 分发配置文件错误:未找到有效的签名身份
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12158850/
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
Distribution Profile error: Valid signing identity not found
提问by Joshua Lückers
When I create a Development Provisioning Profile (to distribute the app Ad-Hoc) the organizer in Xcode gives the following error: Valid signing identity not found.
当我创建开发配置文件(以分发应用程序 Ad-Hoc)时,Xcode 中的组织者会出现以下错误:未找到有效的签名身份。
I tried the steps below to solve my problem without any luck:
我尝试了以下步骤来解决我的问题,但没有任何运气:
- remove all keys and certificates in my Keychain.
- revoked my Development Certificate in the iOS Provisioning Portal
- created a new Development Certificate
- edited the Development Provisioning Profile for my app and selected my Certificate.
- Xcode says my profile is valid for de Development Provisiong Profile.
- created the Distribution Provisioning Profile.
- Xcode says there is no valid signing identity found for the Distribution Provisiong Profile.
- 删除我的钥匙串中的所有密钥和证书。
- 在 iOS Provisioning Portal 中撤销了我的开发证书
- 创建了一个新的开发证书
- 编辑了我的应用程序的开发配置文件并选择了我的证书。
- Xcode 说我的配置文件对 de Development Provisiong Profile 有效。
- 创建了分发配置文件。
- Xcode 说没有为 Distribution Provisiong Profile 找到有效的签名身份。
What other solutions can I try? There is already an app in the App Store publish by my colleague.
我可以尝试哪些其他解决方案?我的同事在 App Store 中已经发布了一个应用程序。
I'm using Xcode 4.4.1
我正在使用 Xcode 4.4.1
回答by karim
This happen when you miss the private key of the certificate signer. You must have the private key in your keychain.
当您错过证书签名者的私钥时会发生这种情况。您的钥匙串中必须有私钥。
Usually when you request certificate from a certificate authority, it created a private key in your keychain, which subsequently used for creating all the provisioning profiles.
通常,当您从证书颁发机构请求证书时,它会在您的钥匙串中创建一个私钥,随后用于创建所有配置文件。