我有一台苹果机,用Xcode 4开发iPhone应用。
我现在有一台新麦金塔电脑,新安装了……一切。
当打开在旧Mac上构建的Xcode项目时,我无法在配置为开发版iPhone的iPhone上运行应用程序。
Xcode 4管理器告诉我在配置文件中“没有找到有效的签名标识”。
我猜这与我之前在旧Mac上生成的.certSigningRequest文件有关(我有该文件的备份),但我必须在新Mac上处理它吗?
另一件奇怪的事情是,我在管理器中看不到我的5个现有配置文件(在苹果配置门户上定义),即使刷新并输入我的配置门户登录名和密码后:
我遇到了和Tiguero一样的事情(谢谢你的回答,它给了我希望),但这里有一种方法可以消除“未找到有效的签名标识”错误,而不必删除所有配置配置文件。
如果你在一个新系统上,不能从另一个系统中检索你的密钥,你确实必须删除并重新生成新的Xcode开发和分发证书。你可以通过Xcode或使用老式的钥匙链访问来实现这一点。
然后,您可以进入Provisioning,在每个选项卡、Development和Distribution中,单击您想要更新的概要文件旁边的Edit,然后单击Modify。
您将看到一个证书列表,您必须选中刚才创建的证书旁边的复选框,然后单击Submit。
完成之后,进入Xcode(我用的是4.3.3)
管理器>设备>库>配置配置文件,您将在其中获得错误消息,并单击刷新。一旦您回答输入开发人员登录的提示,Organizer将重新下载配置文件,错误消息应该消失。
I had the same error but the issue was slightly different.
We have a team of developers but we all use the same Apple ID (Developer Account), so when I generated the Provisioning profile, I kept getting the same error as in the subject question. Then although I had downloaded the certificate (that gets prompted as part of the Development Provisioning Assistant steps), I was still getting that error. Then I found the issue was that our Apple Developer account was using a Certificate that was generated on my work mate machine, so I needed to revoke it, and generate a new certificate, then create the provisioning profile.
摘要,从中得到的教训是,用于配置配置文件的证书必须在将使用配置配置文件的同一台计算机上生成。当你有一个开发团队共享同一个Apple ID时,这一点尤其重要。
希望它能帮助到一些人