Skip to content

Commit db81734

Browse files
committed
fix post
1 parent 80c85d2 commit db81734

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

‎_posts/2017-04-13-iOS自动打包.md‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ xcodebuild 的使用可以用 `man xcodebuild`查看。
8888

8989
## 上传到 [Fir](https://fir.im)
9090

91-
因为上面修复ruby的原因,可能出现下载问题
91+
因为上面的操作切换了ruby
9292

93-
所以 **新建一个终端窗口**,
93+
所以 **将ruby切换回来** 或 **新建一个终端窗口**,
94+
95+
rvm use default
9496

9597
下载 [fir 命令行工具](https://github.com/FIRHQ/fir-cli/blob/master/doc/install.md)
9698

@@ -109,3 +111,18 @@ xcodebuild 的使用可以用 `man xcodebuild`查看。
109111
fir publish "$ipaPath.ipa"
110112

111113

114+
# 问题
115+
116+
我将这些脚本写入 `.sh` 文件执行时,执行到这句话时
117+
118+
rvm use system
119+
120+
会出现如下错误
121+
122+
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
123+
124+
You need to change your terminal emulator preferences to allow login shell.
125+
Sometimes it is required to use `/bin/bash --login` as the command.
126+
Please visit https://rvm.io/integration/gnome-terminal/ for an example.
127+
128+
Google很久无果,知道的朋友可以帮忙解决~

0 commit comments

Comments
 (0)