Skip to content

Commit f559421

Browse files
committed
Fix E2E tests: update iOS simulator runtime and Android API level
- Fix iOS simulator creation by dynamically detecting iOS 18 runtime - Update Android emulator from API 29 to API 34 for better compatibility - Use x86_64 architecture for Android emulator
1 parent 6163793 commit f559421

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ jobs:
135135
command: npm run build:android
136136

137137
- android/create-avd:
138-
avd-name: Android_29
139-
system-image: system-images;android-29;default;x86
138+
avd-name: Android_34
139+
system-image: system-images;android-34;default;x86_64
140140
install: true
141141

142142
- android/start-emulator:
143-
avd-name: Android_29
143+
avd-name: Android_34
144144
no-window: true
145145
post-emulator-launch-assemble-command: echo Emulator Started
146146

@@ -194,6 +194,7 @@ jobs:
194194
- run:
195195
name: Create and boot iPhone 15 simulator
196196
command: |
197+
RUNTIME=$(xcrun simctl list runtimes | grep "iOS 18" | tail -1 | awk '{print $NF}' | sed 's/[()]//g')
197198
echo "Creating iPhone 15 simulator with runtime $RUNTIME"
198199
xcrun simctl create "iPhone 15" com.apple.CoreSimulator.SimDeviceType.iPhone-15 $RUNTIME
199200
xcrun simctl boot "iPhone 15" || true

0 commit comments

Comments
 (0)