From 597205e19c33c35f74057fa66f2977e82ff1f627 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Tue, 11 Jun 2019 15:06:03 +0300 Subject: [PATCH] install code signing as well --- xcode/aux_scripts/setup_project_environment.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 +