TIPS 証明書、プロビジョニングの登録、インストール(fastlane) - stv-ekushida/ios-design-guide GitHub Wiki
環境
| ルビー | バージョン |
|---|---|
| rbenv | 2.2.2 |
| ruby | 2.2.2 |
その他
.bash_profileに下記を設定しておく
export PATH="$HOME/.rvenv/bin:$PATH"
eval "$(rbenv init -)"
1.fastlaneのインストール
(1) Gemfileの作成
bundle init
(2) Gem fileを編集する
source 'https://rubygems.org'
gem 'fastlane'
(3) Bundle Install
sudo gem install bundler
sudo bundle install
(4) fastlane 初期化
bundle exec fastlane init
appleID: [任意入力]
App Identifier : [任意入力]
2.登録 (管理者)
(1) Matchfileの作成
git_url "任意入力"
app_identifier "任意入力"
(2) 証明書とプロビジョニングプロファイルの登録
fastlane match development
URL to the git repo containing all the certificates:[任意入力]
Passphrase for Git Repo: [任意入力]
Type passphrase again: [任意入力]
インストール(利用者)
fastlane match development --readonly