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

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

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

如何解决这个问题?


当前回答

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

有一个警告:

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

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

其他回答

我不想这么说。我退出Xcode,重新打开。简单有效:)

解决此问题:

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

好运!

如果在微软移动中心编译时遇到此错误

❌在SDK中,产品类型“Application”需要代码签名 iOS 10.3的 **存档失败**

请注意,移动中心目前还不支持应用商店、临时和企业类型证书的自动签名。自动签名只适用于开发证书。

你可以做两件事来克服这个限制:

Use a development certificate. You'll have to create a new one in the developer.apple.com portal, download it to your machine, export it to a .p12 file using keychain, then finally provide it to Mobile Center. You know the drill. Disable automatic signing. You will find that setting in Xcode in your project targets. Once disabled, a little "i" button will be displayed next to the "Xcode managed profile" label. Click that button, some info about the profile will be displayed. On the top left corner of that window, a "PROV" icon is displayed. That is the provisioning profile that you should provide to Mobile Center. Drag and drop the icon into the corresponding field in Mobile Center.

.

勾-勾(勾-勾)“自动管理签名”.)的Xcode复选框不适合我(正如许多人在顶部建议的那样)。

它发生在项目中链接的框架上。

解决方案:

找到需要签名的框架或任何其他目标。 转到构建设置 搜索签名标识 设置“不要手动编码签名”。

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

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.

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