diff --git a/xcode/aux_scripts/setup_project_environment.sh b/xcode/aux_scripts/setup_project_environment.sh index 6815645..81a81c2 100644 --- a/xcode/aux_scripts/setup_project_environment.sh +++ b/xcode/aux_scripts/setup_project_environment.sh @@ -8,7 +8,8 @@ cd ${PROJECT_PATH} bundle install -# install Homebrew +# Install Homebrew + if [[ $(command -v brew) == "" ]]; then # Prevent "Press RETURN to continue or any other key to abort" message when installing Homebrew @@ -29,4 +30,15 @@ bundle exec pod install # Install carthage dependencies -carthage bootstrap --platform iOS \ No newline at end of file +carthage bootstrap --platform iOS + +case $2 in + --InstallDevelopmentCodeSigning) + # Install certificates & provision profiles for development + + cd ${PROJECT_PATH}/fastlane + + bundle exec fastlane SyncCodeSigning + ;; +esac +