diff --git a/scripts/setup.sh b/scripts/setup.sh index bd907b1..a6f84c7 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -8,4 +8,5 @@ INSTALL_DIR="$HOME/dotfiles" sh "$INSTALL_DIR/scripts/homebrew_setup.sh" sh "$INSTALL_DIR/scripts/asdf_setup.sh" sh "$INSTALL_DIR/scripts/vscode_setup.sh" +sh "$INSTALL_DIR/scripts/xcode_setup.sh" echo "「dotfiles」のセットアップが完了しました" diff --git a/scripts/xcode_setup.sh b/scripts/xcode_setup.sh new file mode 100755 index 0000000..0ad2d46 --- /dev/null +++ b/scripts/xcode_setup.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env zsh +set -euo pipefail + +echo "「Xcode」のセットアップを開始しました" + +# podのインストール +gem install cocoapods + +# xcodebuildのライセンスを受諾 +yes | sudo xcodebuild -license accept || true + +echo "「Xcode」のセットアップが完了しました"