From 2068ca3ba4951c60a004043fc77927a3493a21b9 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Sat, 2 Nov 2024 00:39:11 -0400 Subject: [PATCH] Xcode Cloud: post clone script --- ios/ci_scripts/ci_post_clone.sh | 17 +++++++++++++++++ ios/zeus.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100755 ios/ci_scripts/ci_post_clone.sh diff --git a/ios/ci_scripts/ci_post_clone.sh b/ios/ci_scripts/ci_post_clone.sh new file mode 100755 index 000000000..3a08b595d --- /dev/null +++ b/ios/ci_scripts/ci_post_clone.sh @@ -0,0 +1,17 @@ +#!/bin/zsh + +echo "===== Installling CocoaPods =====" +export HOMEBREW_NO_INSTALL_CLEANUP=TRUE +brew install cocoapods +echo "===== Installing Node.js =====" +brew install node@22 +brew link node@22 +echo "===== Installing yarn =====" +brew install yarn + +# Install dependencies +echo "===== Running yarn install =====" +yarn install +echo "===== Running pod install =====" +cd ios +pod install diff --git a/ios/zeus.xcodeproj/project.pbxproj b/ios/zeus.xcodeproj/project.pbxproj index 82e61b531..7f23d3261 100644 --- a/ios/zeus.xcodeproj/project.pbxproj +++ b/ios/zeus.xcodeproj/project.pbxproj @@ -1822,7 +1822,7 @@ CODE_SIGN_ENTITLEMENTS = zeus/zeus.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = 9TU7M3555F; ENABLE_BITCODE = NO; @@ -1868,7 +1868,7 @@ CODE_SIGN_ENTITLEMENTS = zeus/zeusRelease.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = 9TU7M3555F; ENABLE_BITCODE = NO;