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

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

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

如何解决这个问题?


当前回答

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

❌在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.

.

其他回答

首先在通用选项卡->签约部分->选择一个开发团队,管理签约

类似地,如果你正在处理多个pod文件,分别选择每个pod目标,然后进入general选项卡->签名部分->选择一个开发团队,管理签名

对项目中的所有pod重复相同的过程

创建项目。

这对我很有效

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

有一个警告:

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

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

所有答案看起来都很好,但我发现仍然有问题,所以我在XCode 9.0中更改了Build中的设置-共享它,以便它可以帮助别人。

我修复了它这样做:

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

Xcode版本11.0:

我最近升级到Xcode版本11.0。

看起来苹果把签名从原来的常规标签移到了一个新的标签。

导航到应用程序 选择“签名和能力” 点击“启用开发签名”