acevif / xcode-install-workspace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

これは何?

TBW

初回セットアップ

bundle install

パスワード入力を省略できるようにするには

$ bundle exec fastlane fastlane-credentials add --username yourappleid@example.com
Password: \*\*\*\*\*\*\*\*\*
Credential yourappleid@example.com:\*\*\*\*\*\*\*\* added to keychain.

詳細は https://github.com/fastlane/fastlane/tree/master/credentials_manager を参照

使い方

インストールできるバージョンを調べる

bundle exec xcversion list

インストール済みのバージョンを調べる

bundle exec xcversion installed

ただしbetaであることなどはわからない可能性が高い。要検証。

インストールする

bundle exec xcversion install 12.5

仕組み

  • xcode-installhttps://github.com/xcpretty/xcode-installを使ってXcodeの複数バージョンを管理します。
  • 環境を汚さないため、Ruby Bundlerでxcode-install(xcversion)と依存パッケージを管理します。

メモ

  • bundle execについて
    • bundle execは明示的につけている
    • bundle execをつけると若干早くなる可能性があるため。fastlaneがそのようなメッセージを出していた。
    • またbundle execをつけると確実にbundler管理下のものが実行されるため

About


Languages

Language:Ruby 100.0%