找到多个方案,但您尚未在Teamcity Xcode项目中指定一个方案

问题描述 投票:0回答:1

我正在使用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

输入

快车道健身房

步骤,由于发现多个方案而失败。

enter image description here

但是我已经检查了方案。我只有一个共享方案。

enter image description here

预先感谢

ios xcode continuous-integration teamcity fastlane
1个回答
0
投票

经过一些研究,我找到了解决方案。实际的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”

© www.soinside.com 2019 - 2024. All rights reserved.