这些是我的错误信息
Running with gitlab-ci-multi-runner 1.5.3 (fb49c47)
Using Shell executor...
Running on luckyxmobiledeMac-mini-2.local...
Fetching changes...
HEAD is now at e56d7ac Update README.md
Checking out e56d7ace as master...
bash: line 4: shell_session_update: command not found
ERROR: Build failed: exit status 127
这些是我的。gitlab-ci.yml:=
<>之前阶段:—构建build_project:阶段:构建脚本:- xcodebuild clean -project ProjectName。xcodeproj -scheme SchemeName | xcpretty- xcodebuild test -project ProjectName。xcodeproj -scheme - SchemeName -destination '平台=iOS模拟器,名称=iPhone 6s,操作系统=9.2'标签:——ios_9-2——osx_10-11根据超级用户的这个问题,这似乎是服务器上的rvm
包的问题。
你可以去阅读这个问题的答案,以获得问题的完整解释,但他们的解决方案是将rvm
更新到1.26.11或更高版本。
要更新到最新的稳定版本,请执行以下命令:
rvm get stable