Flutter - Codemagic -自定义方案的iOS代码签名问题

ss2ws0br  于 2022-11-17  发布在  Flutter
关注(0)|答案(1)|浏览(133)

我的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'

vcudknz3

vcudknz31#

在CodeMagic团队的帮助下,我发现应该在CI Job中将FCI_FLUTTER_SCHEME环境变量配置为自定义方案。
参考-https://docs.codemagic.io/troubleshooting/common-ios-issues/

相关问题