我有一个 Ionic 2 应用程序,它可以在 Xcode 8.2.1
模拟器环境中构建和测试,例如iPhone7
(构建成功
)。
当我尝试Archive
应用程序创建一个ipa
文件以在设备上设置时,我遵循these。指示。但是 Product -> Archive
是灰色的。所以我将事件方案更改为 Generic iOS Device
。
但是当我点击 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'
如果有人可以建议我如何解决此问题以构建存档,我将不胜感激。
最佳答案
这对我来说非常有效。试一试:)
第一步:
选择项目目标-->build设置。搜索 PROVISIONING_PROFILE 并删除其中的任何废话。
第 2 步:
取消选中“自动管理签名”,然后再次选中并重新选择团队。 Xcode 然后自行修复导致问题的任何内容。
关于ios - Xcode 具有冲突的配置设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42885122/