Skip to content

Commit 54590dc

Browse files
committed
ci: use xcode 16.2
1 parent 50dd434 commit 54590dc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/build-templates.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ jobs:
244244
${{ env.work_dir }}/**/ios/Podfile.lock
245245
key: ${{ steps.library-cocoapods-cache.outputs.cache-primary-key }}
246246

247+
- name: Use appropriate Xcode version
248+
if: env.ios_build == 1 && env.turbo_cache_hit_ios != 1
249+
uses: maxim-lobanov/setup-xcode@v1
250+
with:
251+
xcode-version: '16.2'
252+
247253
- name: Build example (iOS)
248254
if: env.ios_build == 1
249255
working-directory: ${{ env.work_dir }}

packages/create-react-native-library/templates/common/$.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ jobs:
171171
**/ios/Pods
172172
key: ${{ steps.cocoapods-cache.outputs.cache-key }}
173173

174+
- name: Use appropriate Xcode version
175+
if: env.turbo_cache_hit != 1
176+
uses: maxim-lobanov/setup-xcode@v1
177+
with:
178+
xcode-version: '16.2'
179+
174180
- name: Build example for iOS
175181
run: |
176182
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"

0 commit comments

Comments
 (0)