We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a182ce0 commit c341aedCopy full SHA for c341aed
1 file changed
.github/workflows/pre-merge.yml
@@ -68,6 +68,13 @@ jobs:
68
with:
69
xcode-version: 16.2.0
70
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
77
+
78
- name: Yarn Install
79
run: yarn install
80
working-directory: ReproducerApp
@@ -77,5 +84,8 @@ jobs:
84
working-directory: ReproducerApp/ios
85
86
- name: Yarn Build iOS
- run: yarn react-native build-ios
87
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)"
81
91
0 commit comments