ios - Xcode 具有冲突的配置设置

标签 ios xcode angular ionic2 xcode8

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

enter image description here

当我尝试Archive 应用程序创建一个ipa 文件以在设备上设置时,我遵循these。指示。但是 Product -> Archive 是灰色的。所以我将事件方案更改为 Generic iOS Device

enter image description here

但是当我点击 Product -> Archive 时,我得到了 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'

enter image description here

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

最佳答案

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

第一步:

选择项目目标-->build设置。搜索 PROVISIONING_PROFILE 并删除其中的任何废话。

第 2 步:

取消选中“自动管理签名”,然后再次选中并重新选择团队。 Xcode 然后自行修复导致问题的任何内容。

关于ios - Xcode 具有冲突的配置设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42885122/

相关文章:

javascript - 如何使用 React Native 使工具栏位于默认键盘上方?

XCode7:启用位码大小的静态库?

xcode - 为什么 NSString 不总是在 Xcode 调试器中显示它的文本?

Angular:不推荐使用 create:改用 new Observable()

ios - Angular +电容: Swift Compiler Warning and Capacitor Keyboard not working

javascript - Angular 2 twitter Bootstrap sidemenu不折叠

ios - 如何在不触摸按钮的情况下更改按钮的图像

iphone - 如何在iPhone上实现twitter登录功能

iphone - 应用程序处于前台模式时如何禁用 iPhone/iPad 自动锁定?

ios - 没有要编译的体系结构(ARCHS=armv7、armv7s、VALID_ARCHS=armv7 armv7s)