diff --git a/.github/workflows/tests_e2e_ios.yml b/.github/workflows/tests_e2e_ios.yml index ea601c4573b..87ee8cdee3f 100644 --- a/.github/workflows/tests_e2e_ios.yml +++ b/.github/workflows/tests_e2e_ios.yml @@ -46,7 +46,7 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 'latest-stable' + xcode-version: '15' - uses: actions/checkout@v4 with: diff --git a/tests/package.json b/tests/package.json index 8b00f057683..e3df08ecc65 100644 --- a/tests/package.json +++ b/tests/package.json @@ -63,8 +63,8 @@ "build": "set -o pipefail && xcodebuild VALID_ARCHS=\"`uname -m`\" CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify", "type": "ios.simulator", "device": { - "type": "iPhone 14", - "os": "iOS 16.4" + "type": "iPhone 15", + "os": "iOS 17.0" } }, "ios.sim.release": { @@ -72,8 +72,8 @@ "build": "export RCT_NO_LAUNCH_PACKAGER=true && set -o pipefail | xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify", "type": "ios.simulator", "device": { - "type": "iPhone 14", - "os": "iOS 16.4" + "type": "iPhone 15", + "os": "iOS 17.0" } }, "android.emu.debug": { diff --git a/tests/patches/detox+19.12.6.patch b/tests/patches/detox+19.12.6.patch index 4ec1923b4d3..919d2a999d9 100644 --- a/tests/patches/detox+19.12.6.patch +++ b/tests/patches/detox+19.12.6.patch @@ -135,3 +135,16 @@ index fb4b820..d2dc87d 100644 notifyIdle() return true } +diff --git a/node_modules/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js b/node_modules/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js +index 585c99b..46e4b83 100644 +--- a/node_modules/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js ++++ b/node_modules/detox/src/devices/common/drivers/ios/tools/AppleSimUtils.js +@@ -272,7 +272,7 @@ class AppleSimUtils { + // want to make sure it isn't now. + if (err.code === 3 && + (err.stderr.includes(`the app is not currently running`) || +- err.stderr.includes(`The operation couldn’t be completed. found nothing to terminate`))) { ++ err.stderr.includes(`found nothing to terminate`))) { + return; + } +