gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 16:13:46 25 4
gpt4 key购买 nike

实现 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.
正如许多stackoverflow问题导致的那样,我确实将代码签名身份更改为iOS开发人员,但没有帮助。

CodeMagic 中失败的构建工件的 XCodebuild.log 中的第一行有 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 Job 中配置为自定义方案。对我来说是 uat .
引用 - https://docs.codemagic.io/troubleshooting/common-issues/#ios-code-signing-troubleshooting

关于ios - Flutter - Codemagic - 自定义方案的 iOS 代码签名问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57299125/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com