xcode Apple 的开发者证书和配置文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5243759/
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
Apple's Developer Certificate and Provisioning Profile
提问by Akshay
Can I use someone else's Apple's Developer Certificate and Provisioning Profile to build and run my application on the iPad ? Are the certificates and profiles Machine Specific ?
我可以使用其他人的 Apple 开发人员证书和配置文件在 iPad 上构建和运行我的应用程序吗?证书和配置文件是否特定于机器?
Actually I am trying to install my friend's dev certificate and it is getting installed but when I am installing the provisioning profile its showing me an yellow warning "
实际上我正在尝试安装我朋友的开发证书并且它正在安装但是当我安装配置文件时它向我显示黄色警告“
The main question is that The Developer' Certificate and Provisioning profile can be used on different machines or not ?
主要问题是开发人员的证书和配置文件是否可以在不同的机器上使用?
采纳答案by Jason
"Error: "A valid signing identity matching this profile could not be found in your keychain"
Solution: Most likely that you have not downloaded the necessary WWDR certificate from the Apple developer site. There is a link to download this certificate in the 'Certificates' section of the developer portal. If you do have the certificate in your keychain, make sure that it has not expired (unlikely, as mine is valid until 2016). Also make sure that your developer certificate has not expired (these seem to be valid for only 12 months at a time)."
“错误:“在您的钥匙串中找不到与此配置文件匹配的有效签名身份”
解决方案:很可能您没有从 Apple 开发者站点下载必要的 WWDR 证书。在开发人员门户的“证书”部分有一个下载此证书的链接。如果您的钥匙串中有证书,请确保它没有过期(不太可能,因为我的有效期到 2016 年)。还要确保您的开发人员证书没有过期(这些证书似乎一次只有 12 个月有效)。”
http://discussions.apple.com/thread.jspa?threadID=2220082&tstart=0
http://discussions.apple.com/thread.jspa?threadID=2220082&tstart=0
回答by Vin
See the message, "A valid signing identity matching this profile could not be found". You are adding the certificate in your keychain, not the identity(which is a .p12 file containing the private key). From wherever you got the certificate, you should get the private key exported from the keychain rather than exporting only the certificate.
请参阅消息“找不到与此配置文件匹配的有效签名身份”。您在钥匙串中添加证书,而不是身份(这是一个包含私钥的 .p12 文件)。无论您从何处获得证书,都应该从钥匙串导出私钥,而不是仅导出证书。
At the end, like BoltClock said, it is violation of Apple's license to use some others' certificate.
最后,正如 BoltClock 所说,使用他人的证书违反了 Apple 的许可。
回答by includeMe
If you want to run your app on a device then you have to add that device's id to the certificate.
如果您想在设备上运行您的应用程序,则必须将该设备的 ID 添加到证书中。