我从公司的另一个部门借了一台 iPad mini (MF432C/A) iOS 8.0.2 来开发不同 iOS 应用程序,并尝试构建我的应用程序。
我在尝试通过 Xcode 版本 6.4 (6E35b) 构建时收到以下错误
Failed to code sign ----.
None of the valid provisioning profiles include the devices: 725 product dev iPad mini.
Xcode can attempt to fix this issue.
单击最近在自动配置未知设备方面做得不错的修复问题后,我收到以下消息:
Your account already has a valid iOS Development certificate
You have a valid iOS Development certificate in the Member Center, but it is not installed locally. If your signing identity is installed on another Mac, you can export a developer profile on that Mac and import it on this Mac. You can also revoke your current certificate and request a new one.
来自相关Apple docs看起来我缺少正确的签名身份来在此设备上构建我的应用程序。问题是这可能是其他应用程序开发人员的签名身份。有没有办法绕过此错误并为我自己的应用程序配置设备?
编辑:在事件日志下,我看到以下两个代码签名错误:
Check dependencies
Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices: 725 product dev iPad mini
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'
最佳答案
You need to install the public and private keys associated with the development profile onto the Mac you are using. They can be found in the Keychain application, and simply transferred over. You can revoke and request a new one, but then your device may not run the app from your work computer and you would have to rinse and repeat.
如果您已经完成此操作但仍然遇到问题,请尝试在成员(member)中心的“证书、标识符和配置文件”下手动注册设备,然后在“Xcode”>“首选项”>“帐户”>“[帐户名]”下刷新帐户
关于ios - 您的帐户已拥有有效的 iOS 开发证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31465445/