【发布时间】:2018-04-03 03:44:41
【问题描述】:
我正在使用 ionic2 开发内部移动应用程序。我可以通过以下方式成功构建 ios:
ionic build ios and
ionic build ios --prod
但是当我这样做时它一直失败
ionic build ios --release
这是错误信息:
Check dependencies
Code Signing Error: CMLookup has conflicting provisioning settings. CMLookup 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 Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
** ARCHIVE FAILED **
所以我在xcode中打开项目,取消选中自动管理签名,重新检查,重新选择Team(开发团队)但它仍然没有帮助。我去了 signing 部分的 xcode 项目 build setting,以确保 Code Signing Identity 中的所有设置都设置为 iOS开发人员。
我也试过了
ionic platform remove ios
ionic platform add ios
但是当我执行 ionic build ios --release
时,我仍然不断收到上面的签名错误我不知道我现在还应该尝试什么。请帮忙。谢谢!!
PS:我的离子信息:
Your system information:
Cordova CLI: 8.0.0
Ionic Framework Version: 3.9.2
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 3.1.7-201801172029
ios-deploy version: 1.9.2
ios-sim version: 6.1.2
OS: macOS
Node Version: v8.9.1
Xcode version: Xcode 9.2 Build version 9C40b
乔治
【问题讨论】:
-
你试过这个命令了吗ionic cordova build ios --prod --release
-
是的。我试过很多次。谢谢.. ionic cordova build ios --prod --release