Skip to content

Commit 1b67539

Browse files
committed
fix CI/CD for iOS 26
1 parent c341aed commit 1b67539

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/pre-merge.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,8 @@ jobs:
6868
with:
6969
xcode-version: 16.2.0
7070

71-
- name: Get available iOS runtime
72-
id: get-ios-runtime
73-
run: |
74-
AVAILABLE_RUNTIME=$(xcrun simctl list runtimes | grep -o "iOS [0-9]*\.[0-9]*" | sort -V | tail -1)
75-
echo "Available iOS runtime: $AVAILABLE_RUNTIME"
76-
echo "ios_runtime=$AVAILABLE_RUNTIME" >> $GITHUB_OUTPUT
71+
- name: List available simulators
72+
run: xcrun simctl list devices
7773

7874
- name: Yarn Install
7975
run: yarn install
@@ -85,7 +81,5 @@ jobs:
8581

8682
- name: Yarn Build iOS
8783
run: |
88-
RUNTIME="${{ steps.get-ios-runtime.outputs.ios_runtime }}"
89-
echo "Building with runtime: $RUNTIME"
90-
yarn react-native build-ios --simulator="iPhone 15 ($RUNTIME)"
84+
cd ios && xcodebuild -workspace ReproducerApp.xcworkspace -scheme ReproducerApp -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 16,OS=26.0"
9185
working-directory: ReproducerApp

0 commit comments

Comments
 (0)