IOS:证书问题
我在工作中使用了 Mac,我毫无问题地创建了 .ipa,并在设备上尝试了我的应用程序。 现在在家里(在另一台 Mac 上),当我在项目上选择设备并“构建”时,出现错误:
Code Signing Identity 'iPhone Developer 与钥匙串中任何有效的、未过期的代码签名证书不匹配,
为什么?
I used a mac at work where I created .ipa without problems and I tried my app on device.
Now at home (in another mac) when I choose device on my project and I do "build" I have an error:
Code Signing Identity 'iPhone Developer
does not match any valid, non-expired, code-signing certificate in your keychain
why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有同样的问题。您需要在工作时从 Mac 导出证书和配置文件,然后在家里导入。这真的很烦人,你可以只将证书和配置文件下载到一台Mac上,如果你在另一台机器上使用它们后再次下载到另一台Mac上,它就不起作用了。如果您在导出和导入配置文件时遇到问题,那么您可以通过谷歌搜索一些教程。
I had the same issue. You need to export your certificates and profiles from your mac at work, and import them at home. It is really annoying, you can just download the certificates and profiles to one mac, it wont work if you download then again onto another mac, after having them already used on another machine. If you are having issues exporting and importing profiles, then you can google for some tutorials.
在工作的 Mac 上,您已将代码签名证书添加到钥匙串中。您需要对家里的 Mac 执行同样的操作。您可以从开发人员门户下载证书,就像在工作计算机上下载证书一样。
On your mac at work, you've added the code-signing certificate to your keychain. You need to do the same for your mac at home. You can download the certificate from the developer portal, same as you did for your work computer.