From cc2d642e6d8797f7b7704caf6c5f02fdbe0e5b0e Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Mon, 21 Aug 2023 16:45:56 -0500 Subject: [PATCH] test(ios): use concrete value of iOS for simulator device apparently the new version of macos-13 runner published for hosted github actions defaults to iOS 17 simulators, which are troublesome may fix our current iOS e2e workflow failures ref actions/runner-images/issues 8023#issuecomment-1662478605 --- tests/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/package.json b/tests/package.json index 26b007b0e8..230f413b11 100644 --- a/tests/package.json +++ b/tests/package.json @@ -62,7 +62,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" + "type": "iPhone 14", + "os": "iOS 16.4" } }, "ios.sim.release": { @@ -70,7 +71,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" + "type": "iPhone 14", + "os": "iOS 16.4" } }, "android.emu.debug": {