【发布时间】:2019-12-09 11:12:25
【问题描述】:
在实施 Flavors 后,我的 iOS 构建在 CodeMagic 上失败。这是我在 xcodebuild.log 中看到的主要错误
Runner has conflicting provisioning settings. Runner 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.
我确实将代码签名身份更改为 iOS 开发人员,因为许多 stackoverflow 问题导致,但没有帮助。
XCodebuild.log 中来自 CodeMagic 中失败的构建工件的第一行有 Runner 方案,而不是我的自定义方案 uat。
来自 XCodebuild.log - /Applications/Xcode-10.3.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/builder/clone/ios/Runner.xcworkspace -scheme Runner -archivePath /Users/builder/build.xcarchive -config Release archive DEVELOPMENT_TEAM=xxxxx CODE_SIGN_IDENTITY='iPhone Distribution'
【问题讨论】: