我的iOS版本在实现Flavors后在CodeMagic上失败。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'
1条答案
按热度按时间vcudknz31#
在CodeMagic团队的帮助下,我发现应该在CI Job中将
FCI_FLUTTER_SCHEME
环境变量配置为自定义方案。参考-https://docs.codemagic.io/troubleshooting/common-ios-issues/