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

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

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

如何解决这个问题?


当前回答

1.1:如果使用p12和provision文件,但不使用AppID登录,请不要选择“自动管理签名”。

也就是说你不需要设置你的队伍。只需在生成设置中选择您的供应文件和机器代码签名标识,就像这个生成设置一样。确保参数也设置好了。

然后回到将军那里。你会看到General set,这很好。

如果1不工作,尝试其他答案说,清理你的项目,删除派生数据文件夹,退出Xcode,并重新打开。

其他回答

这是因为您在创建项目时没有选择团队。

我太固执了。我在构建设置中选择了它,但无效。我必须创建一个新项目。

“我在构建设置中选择了它,但无效。I must create a new project.”是错误的。

它是无效的,因为我没有选择扩展。您必须在项目的所有扩展中选择一个概要文件,并且不需要创建一个新的概要文件。

[2

我修复了它这样做:

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

在“生成”中更改“签名”中的设置

清理并存档你的代码,希望对你有所帮助。

我在更新Xcode版本到8.0时遇到了这种类型错误, 在SDK“iOS 10.0”中,产品类型“应用程序”需要代码签名

有一个警告:

没有代码签名,但需要授权。不可能在没有签名的情况下向二进制文件添加权限。

我的解决方案是进入目标→通用→签名->点击启用签名…按钮,我解决了这个问题。

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

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.

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