Xcode的配置设置有冲突 [英] Xcode has conflicting provisioning settings

查看:297
本文介绍了Xcode的配置设置有冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Ionic 2应用程序,该应用程序可以在Xcode 8.2.1模拟器环境中构建并进行测试,例如iPhone7(Build Successful).

I have an Ionic 2 app, which builds and is testable in Xcode 8.2.1 Simulator environment, e.g. iPhone7 (Build Successful).

当我尝试使用Archive应用程序创建要在设备上设置的ipa文件时,我会遵循

When I try Archive the app to create an ipa file to set on a device, I follow these instructions. But Product -> Archive is greyed out. So I change the active scheme to Generic iOS Device.

但是当我单击Product -> Archive时,我得到Build Failed.

But then when I click Product -> Archive, I get Build Failed.

theWhoZoo的配置设置冲突.谁是 自动签名进行开发,但代码签名冲突 身份iPhone分发已手动指定.设置密码 在构建设置中将身份值签名到"iPhone Developer" 编辑器,或在项目编辑器中切换到手动签名.代码 SDK'iOS 10.2'中的产品类型'Application'需要签名

theWhoZoo has conflicting provisioning settings. theWhoZoo is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.2'

如果有人可以建议我如何解决此问题以构建存档,我将不胜感激.

If anyone could advise how I can fix this to build an Archive, I would appreciate it.

推荐答案

这对我来说非常有效.试试看:)

第1步:

选择项目目标->构建设置.搜索PROVISIONING_PROFILE并删除其中所有的废话.

Select the Project Target-- > Build Settings. Search PROVISIONING_PROFILE and delete whatever nonsense is there.

第2步:

取消选中自动管理签名",然后再次选中并重新选择团队.然后Xcode自行解决导致问题的原因.

Uncheck "Automatically manage signing", then check it again and reselect the Team. Xcode then fix whatever was causing the issue on its own.

这篇关于Xcode的配置设置有冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆