diff --git a/xcode/bootstrap/Makefile b/xcode/bootstrap/Makefile index 09940d2..9a6b0fe 100644 --- a/xcode/bootstrap/Makefile +++ b/xcode/bootstrap/Makefile @@ -44,7 +44,7 @@ init: bundle install - $(call gen) + xcodegen $(call install_pods) diff --git a/xcode/build_phases/api_generator.sh b/xcode/build_phases/api_generator.sh index 0702033..0de96fd 100755 --- a/xcode/build_phases/api_generator.sh +++ b/xcode/build_phases/api_generator.sh @@ -126,7 +126,7 @@ is_api_spec_under_source_control() IS_UNDER_SOURCE_CONTROL_CHECK=`git -C ${API_SPEC_DIR} rev-parse --is-inside-work-tree 2>/dev/null` fi - if [ ${IS_UNDER_SOURCE_CONTROL_CHECK} = "true" ]; then + if [ "${IS_UNDER_SOURCE_CONTROL_CHECK}" = "true" ]; then echo ${TRUE} else echo ${FALSE}