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

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

问题描述

我有一个 Ionic 2 应用程序,它可以在 Xcode 8.2.1 模拟器环境中构建和测试,例如iPhone7(构建成功).

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

但是当我点击 Product ->存档,我得到Build Failed.

<块引用>

theWhoZoo 的配置设置存在冲突.谁是动物园为开发自动签名,但代码签名冲突已手动指定身份 iPhone 分发.设置代码在构建设置中将身份值签名为iPhone Developer"编辑器,或在项目编辑器中切换到手动签名.代码SDKiOS 10.2"中的产品类型应用程序"需要签名

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

解决方案

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

第 1 步:

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

第 2 步:

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

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

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.

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

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.

解决方案

This worked perfectly for me. Give a try :)

Step 1:

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

Step 2:

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天全站免登陆