我正在尝试设置 CI 管道来构建 iOS 应用程序;具体来说,我的目标除了构建应用程序之外,还设置自动签名并最终将其推送到 Testflight。当我尝试运行 fastlane 命令在本地构建应用程序时,它按预期工作,但是,每次我尝试使用 fastlane 在 Circleci 上构建它时,我总是收到“没有找到本地代码签名身份”错误,然后是证书和配置配置文件是从存储库安装的,但最终我的构建失败并出现错误:“错误:没有使用 Xcode 注册的帐户。将您的开发人员帐户添加到 Xcode...”。
\n我不确定这到底是什么问题,我已经fastfile多次更改以包含或排除我在调试时发现的各种选项,但我仍然遇到相同的错误。
以下是管道在 Circleci 上的外观:
\n/Users/distiller/project/********\n[\xe2\xa0\x8b] [\xe2\xa0\x99] [\xe2\xa0\xb9] [\xe2\xa0\xb8] [\xe2\xa0\xbc] [\xe2\xa0\xb4] [\xe2\xa0\xa6] [\xe2\xa0\xa7] [\xe2\xa0\x87] [\xe2\xa0\x8f] [\xe2\xa0\x8b] [\xe2\xa0\x99] [\xe2\xa0\xb9] [\xe2\xa0\xb8] [\xe2\xa0\xbc] [\xe2\xa0\xb4] [\xe2\xa0\xa6] [\xe2\xa0\xa7] [\xe2\xa0\x87] [\xe2\x9c\x94] \n[09:00:06]: Sending anonymous analytics information\n[09:00:06]: Learn more at https://docs.fastlane.tools/#metrics\n[09:00:06]: No personal or sensitive data is sent.\n[09:00:06]: You can disable this by adding `opt_out_usage` at the top of your Fastfile\ntput: No value for $TERM and no -T …Run Code Online (Sandbox Code Playgroud)