Xcode 有冲突的配置设置

时间:2023-03-08
本文介绍了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 有冲突的配置设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

上一篇:ionic 2:如何从 android 设备获取控制台消息 下一篇:“Gradle 同步失败:未找到已安装的构建工具.安装

相关文章

最新文章