@@ -146,7 +146,7 @@ jobs:
146146 TURBO_CACHE_DIR : .turbo/ios
147147 TURBO_TOKEN : ${{ secrets. TURBO_TOKEN }}
148148 TURBO_TEAM : ${{ secrets. TURBO_TEAM }}
149- runs-on : ${{ (matrix.language == 'swift' && 'macos-14 ') || 'ubuntu-latest' }}
149+ runs-on : ${{ (matrix.language == 'swift' && 'macos-13 ') || 'ubuntu-latest' }}
150150 permissions :
151151 # required for all workflows
152152 security-events : write
@@ -190,24 +190,24 @@ jobs:
190190 run : |
191191 echo "Cache key would be: ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}"
192192
193- - name : Check turborepo cache for iOS
194- run : |
195- TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
196-
197- if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
198- echo "turbo_cache_hit=1" >> $GITHUB_ENV
199- fi
200-
201- - name : Cache cocoapods
202- if : env.turbo_cache_hit != 1
203- id : cocoapods-cache
204- uses : actions/cache@v4
205- with :
206- path : |
207- **/ios/Pods
208- key : ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
209- restore-keys : |
210- ${{ runner.os }}-cocoapods-
193+ # - name: Check turborepo cache for iOS
194+ # run: |
195+ # TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
196+ #
197+ # if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
198+ # echo "turbo_cache_hit=1" >> $GITHUB_ENV
199+ # fi
200+ #
201+ # - name: Cache cocoapods
202+ # if: env.turbo_cache_hit != 1
203+ # id: cocoapods-cache
204+ # uses: actions/cache@v4
205+ # with:
206+ # path: |
207+ # **/ios/Pods
208+ # key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
209+ # restore-keys: |
210+ # ${{ runner.os }}-cocoapods-
211211
212212 - name : Install cocoapods
213213 if : env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
@@ -232,7 +232,8 @@ jobs:
232232 BUILD_LIBRARY_FOR_DISTRIBUTION=NO \
233233 APPLICATION_EXTENSION_API_ONLY=YES \
234234 SKIP_INSTALL=NO \
235- IPHONEOS_DEVELOPMENT_TARGET=13.2
235+ IPHONEOS_DEVELOPMENT_TARGET=13.0
236+ ARCHS="arm64 x86_64"
236237
237238 # yarn add @iterable/react-native-sdk
238239 # yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
0 commit comments