Xcode 7.2 未找到匹配的配置文件 [英] Xcode 7.2 no matching provisioning profiles found

查看:24
本文介绍了Xcode 7.2 未找到匹配的配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将 Xcode 升级到 7.2 之前,我使用 Xcode 7.1.1 来构建和分发应用程序.我已升级到 Xcode 7.2,并且我的配置文件(与该特定应用程序的捆绑 ID 匹配)都与我在 Xcode 7.1.1 中运行的已安装证书不匹配.

Before upgrading Xcode to 7.2, I was using Xcode 7.1.1 to build and distribute apps. I have upgraded to Xcode 7.2 and none of my provisioning profiles (matched to that particular app's bundle ID) match my installed certificates that were working in Xcode 7.1.1.

我只得到:

您的构建设置指定了一个 UUID 为some_number"的配置文件,但是,没有找到这样的配置文件.

Your build settings specify a provisioning profile with the UUID "some_number", however, no such provisioning profile was found.

我尝试重新生成 .certSigningRequest 以生成新的证书和配置文件,并确保目标的常规选项卡中的团队是正确的.每当我选择一个配置文件时,我的所有代码签名身份都会出现在钥匙串中的身份中,但它们都不会正确配对.

I have tried regenerating a .certSigningRequest to generate a new Certificate and Profile and made sure the Team in the General tab of the target is correct. Whenever I select a Provision Profile, all of my Code Signing Identities appear in the Identities in Keychain, but none of them will pair correctly.

似乎将 Provision Profile 设置为 Automatic 并将 Code Signing Identity 设置为 iOS Developer 将解决此错误,但管理我的 Provisioning Profiles 的优势已经消失,因为我相信 Xcode 会管理这些.

It seems setting the Provision Profile to Automatic and the Code Signing Identity to iOS Developer will resolve this error, but the advantage of managing my Provisioning Profiles is gone as I believe Xcode then manages these.

关于为什么将我的配置文件和代码签名标识设置为除自动和 iOS 开发人员之外的任何其他内容会产生此错误的任何想法?

Any thoughts on why setting my Provisioning Profiles and Code Signing Identities to anything but Automatic and iOS Developer produces this error?

推荐答案

更新 Xcode 后我也遇到了一些问题.

I also had some problems after updating Xcode.

我通过打开 Xcode Preferences (+,) 来修复它,转到 Accounts查看详情.然后选择所有配置文件并用退格键删除它们(注意:它们不能在 Xcode 7.2 中删除).重新启动 Xcode,否则列表似乎无法正确更新.

I fixed it by opening Xcode Preferences (+,), going to AccountsView Details. Then select all provisioning profiles and delete them with backspace (note: they can't be removed in Xcode 7.2). Restart Xcode, else the list doesn't seem to update properly.

现在单击全部下载按钮,您应该将在会员中心定义的所有配置文件返回到 Xcode.不要担心 Xcode 生成的(前缀为 XC:),如果需要,Xcode 会重新生成它们.再次重启Xcode.

Now click the Download all button, and you should have all provisioning profiles that you defined in the Member center back in Xcode. Don't worry about the Xcode-generated ones (Prefixed with XC:), Xcode will regenerate them if necessary. Restart Xcode again.

现在转到构建设置中的代码签名部分,然后选择正确的配置文件和证书.

Now go to the Code Signing section in your Build Settings and select the correct profile and cert.

为什么会发生这种情况?不知道...我已经放弃了解 Apple 关于应用签名的政策.

Why this happens at all? No idea... I gave up on understanding Apple's policies regarding app signing.

这篇关于Xcode 7.2 未找到匹配的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆