我正在使用Teamcity进行iOS项目的持续集成。
在此,我在fastlane命令下面使用此命令将构建上传到TestFlight。
export PATH="$HOME/.fastlane/bin:$PATH"
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
bundle exec fastlane init
bundle exec fastlane sigh --username [email protected] --team_id ABCDEFGH
bundle exec fastlane sigh download_all
bundle exec fastlane gym
bundle exec fastlane pilot upload
输入
快车道健身房
步骤,由于发现多个方案而失败。
但是我已经检查了方案。我只有一个共享方案。
预先感谢
经过一些研究,我找到了解决方案。实际的fastlane命令是,
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
bundle exec fastlane init
bundle exec fastlane sigh --username [email protected] --team_id ABCDEFGH
bundle exec fastlane sigh download_all
bundle exec fastlane gym
bundle exec fastlane pilot upload
删除此文件,并且工作正常
export PATH =“ $ HOME / .fastlane / bin:$ PATH”