如何配置我的 iOS 设备进行开发?
我有以下文件。
aps_dev_cert_key.p12 aps_developer_identity.cer 和 apxxx_dev.mobileprovision
也存在用于分发的相同集合。现在,我进入钥匙串访问,将密钥文件拖到“密钥”上,将 cer 文件拖到“证书”上。我按照这篇文章中的说明进行操作 如何在 iPod touch 上安装 iPhone 应用程序
但是构建&运行对我不起作用,因为我得到“身份 xxxyyyyzzzzzxxxxx 与默认钥匙串中的任何有效证书/私钥对不匹配”
I have the following files with me.
aps_dev_cert_key.p12
aps_developer_identity.cer
and
apxxx_dev.mobileprovision
Same set exists for distribution too. Now, I went to Keychain access, dragged key file onto "Keys" and cer file onto "Certificates". I followed the instruction in this post
How to install the iPhone application on my iPod touch
But Build & Run is not working for me, as I get "The Identity xxxxyyyyzzzzzxxxxx doesn't match any valid certificate/private key pair in default keychain"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
双击“aps_dev_cert_key.p12”,它应该受到密码保护。输入密码,它会自动将证书和密钥安装到KeyChain。
双击“apxxx_dev.mobileprovision”,应该会自动安装到xCode,可以在Organizer中查看。
打开项目的设置>>代码签名:选择刚刚添加的证书。
构建到设备应该将其安装到您的 iPhone,前提是 Iphone 的 UDID 已添加到“apxxx_dev.mobileprovision”中。
希望有帮助。
Double click the "aps_dev_cert_key.p12", it should be password protected. Enter password, it will automatically install the cert and key to KeyChain.
Double click the "apxxx_dev.mobileprovision", it should be automatically installed to xCode, which can be viewed in Organizer.
Open Settings for your project>> Code sign: select the cert that was just added.
Build to Device should install it to your iphone, provided the Iphone's UDID was added in the "apxxx_dev.mobileprovision".
hope that helps.