diff --git a/.github/workflows/rn-build-ios.yml b/.github/workflows/rn-build-ios.yml index 18635f16c..a6962bfcb 100644 --- a/.github/workflows/rn-build-ios.yml +++ b/.github/workflows/rn-build-ios.yml @@ -64,7 +64,7 @@ jobs: set -euo pipefail bundle install cd ios - bundle exec pod install --deployment --repo-update + bundle exec pod install --deployment - name: Build module run: pnpm module build diff --git a/platforms/react-native/sample/scripts/test_ios b/platforms/react-native/sample/scripts/test_ios index 89b8340cc..f5bbb3906 100755 --- a/platforms/react-native/sample/scripts/test_ios +++ b/platforms/react-native/sample/scripts/test_ios @@ -26,7 +26,7 @@ cd "$TEST_APP_DIR" if [ "${USE_LOCAL_SDK:-0}" = "1" ]; then bundle exec pod update ShopifyCheckoutKit ShopifyCheckoutKit/AcceleratedCheckouts --repo-update else - pod_install_args="--repo-update" + pod_install_args="${POD_REPO_UPDATE:+--repo-update}" if [ "$CI" = "true" ]; then pod_install_args="$pod_install_args --deployment" fi