我正面临以下问题,无法构建应用程序。

XXX有冲突的配置设置。XXX自动 但配置配置文件通配符已手动配置 指定。中将配置文件的值设置为“自动” 生成设置编辑器,或在目标中切换到手动配置 编辑器。SDK中产品类型“Application”需要代码签名 iOS 10.0的

我也无法选择一个特定的配置文件。

如何解决这个问题?


当前回答

解决此问题:

进入Xcode/Preferences/Accounts 点击你的apple id账户; 点击“查看详细信息”(会打开一个新窗口,其中有“签名身份”和“配置文件”; 删除“配置文件”中的所有证书,清空垃圾; 删除你的Apple-ID账号; 再次登录与你的苹果id和建立应用程序!

好运!

其他回答

这就是我所说的典型的苹果Xcode UX设计漏洞。

错误说有一堆东西你做错了局部。

这个错误实际上意味着“我们在网上有一个新协议,你没有接受”。

在检查和取消自动签名按钮后,我得到了这个协议错误显示:

登录到开发者门户网站,我看到了一个协议更新通知的横幅:

. 重新启动Xcode 8之后,这个错误就被清除了,只是迫使我重新选择我的机器上已经有并绑定到项目的证书。

这本来可以在一个不那么令人困惑的实现中处理,但这就是我修复它的方式。我把它放在这里,因为它与其他人给出的步骤截然不同。

哦,是的,拥有最新的iOS 10设备和最新的Xcode(我使用的是7.3.1之类的)也会抛出错误,直到我更新。

在单元测试目标中

Xcode 7:

必须设置配置文件(与应用程序目标相同) 证书下面一定要写“不要签名”吗

Xcode 8:

必须为配置配置文件设置“None” 必须设置证书(与app target相同) (对于已弃用的配置文件,还必须设置“None”)

我的天,为了让它起作用,我不得不做这些。一幅图胜过千言万语。

If you get this error while archiving then continue reading. Go to your app and click on the general tab. Under the signing section, uncheck "Automatically manage signing". As soon as you do that you will get a status of red error as shown below. Now here's the tricky part. You need to uncheck "Automatically manage Signing" in both the targets under your project. This step is very important. Now go under "build settings" tab of each of those targets and set "iOS Developer" under code signing identity. Do the same steps for your "PROJECT". Now do Xcode → Product → Clean. Close your project in Xcode and reopen it again. After this go to the general tab of each of your targets and check "Automatically manage signing" and under team drop down select your developer account Do an archive of your project again and everything should work.

实际上,苹果吗?这是为了让我们的生活更轻松吗?

如果你仍然有问题,那么请尝试这个。

构建设置->用户自定义->配置文件(删除此。)

这将解决我的问题。

谢谢

我修复了它这样做:

为你项目的所有目标设置你的团队。包括扩展。并留下了自动签名管理。