ios - 您的帐户已拥有有效的 iOS 开发证书

标签 ios iphone xcode

我从公司的另一个部门借了一台 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.

enter image description here

单击最近在自动配置未知设备方面做得不错的修复问题后,我收到以下消息:

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.

enter image description here

来自相关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/

相关文章:

ios - dispatch_async 嵌套 block

ios - 在 swift xcode 中向屏幕添加边框

iphone - 在一段时间间隔后更新 UIView?

ios - 如何在 swift 中对 UILabel 文本的范围分配函数

iphone - 如何压缩 NSURLConnection 请求?

iphone - NSUserDefaults 在两个不同的类中为键返回不同的值

android - Chromecast CAF - 自动重新连接管理

iphone:使 View 透明但 subview 不透明

ios - ARKit 2 : Place 3D objects using ARKit causes screen to freeze in Xcode 10. 1 和 iOS 12

ios - XCode 存档 phonegap clang 错误 254