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

查看:457
本文介绍了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.

我只得到:


您的构建设置指定配置文件但是,UUIDsome_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.

似乎将配置文件设置为自动和iOS开发人员的代码签名身份将解决此错误,但管理我的配置文件的优势已经消失,因为我相信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首选项( + )来修复它,转到帐户查看详细信息。然后选择所有配置文件并使用退格键删除它们(注意:它们不能在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.

现在转到Build Settings中的 Code Signing 部分,选择正确的配置文件和证书。

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天全站免登陆