Flutter - Codemagic - iOS 自定义方案的代码签名问题
Flutter - Codemagic - iOS Code signing issues with Custom scheme
我的 iOS 构建在实施 Flavors 后在 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 开发人员,因为许多 Whosebug 问题导致,但没有帮助。
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'
在 CodeMagic 团队的帮助下,我发现 FCI_FLUTTER_SCHEME
环境变量应该在 CI 作业中配置为自定义方案。对我来说是 uat
.
参考 - https://docs.codemagic.io/troubleshooting/common-issues/#ios-code-signing-troubleshooting
我的 iOS 构建在实施 Flavors 后在 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 开发人员,因为许多 Whosebug 问题导致,但没有帮助。
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'
在 CodeMagic 团队的帮助下,我发现 FCI_FLUTTER_SCHEME
环境变量应该在 CI 作业中配置为自定义方案。对我来说是 uat
.
参考 - https://docs.codemagic.io/troubleshooting/common-issues/#ios-code-signing-troubleshooting