jenkins从机iOS环境部署

  1. 下载 Xcode
  2. 下载 java8
    https://www.oracle.com/java/technologies/downloads/
  3. git 账号和密码登录配置
    当前用户下.gitconfig
1
2
3
4
5
6
7
8
9
10
[user]
email = 328872015@qq.com
[credential]
helper = store
[color]
ui = auto
[core]
eol = lf
[url "https://"]
insteadOf = git://
1
2
3
.git-credentials

http://huang:********@10.168.66.55
  1. 按照 homebrew
1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. 安装 rvm
1
2
curl -sSL https://get.rvm.io | bash -s stable
rvm install 3.1.2
  1. xcode-》偏好中,设置开发者账号

  2. 安装 cocoapod

1
sudo gem install cocoapods
  1. 安装 fastlane
1
brew install fastlane