diff --git a/.ci.yaml b/.ci.yaml index e56f97131923..2d0db05cd45f 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -24,24 +24,24 @@ platform_properties: properties: dependencies: >- [ - {"dependency": "xcode", "version": "14a5294e"}, + {"dependency": "xcode", "version": "14c18"}, {"dependency": "gems", "version": "v3.3.14"} ] os: Mac-12 device_type: none cpu: arm64 - xcode: 14a5294e # xcode 14.0 beta 5 + xcode: 14c18 mac_x64: properties: dependencies: >- [ - {"dependency": "xcode", "version": "14a5294e"}, + {"dependency": "xcode", "version": "14c18"}, {"dependency": "gems", "version": "v3.3.14"} ] os: Mac-12 device_type: none cpu: x86 - xcode: 14a5294e # xcode 14.0 beta 5 + xcode: 14c18 targets: ### iOS+macOS tasks *** diff --git a/.ci/scripts/create_simulator.sh b/.ci/scripts/create_simulator.sh index 02992d2cbdb6..a12bbee0af0c 100755 --- a/.ci/scripts/create_simulator.sh +++ b/.ci/scripts/create_simulator.sh @@ -5,8 +5,8 @@ # The name here must match remove_simulator.sh readonly DEVICE_NAME=Flutter-iPhone -readonly DEVICE=com.apple.CoreSimulator.SimDeviceType.iPhone-13 -readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-0 +readonly DEVICE=com.apple.CoreSimulator.SimDeviceType.iPhone-14 +readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-2 xcrun simctl list xcrun simctl create "$DEVICE_NAME" "$DEVICE" "$OS" | xargs xcrun simctl boot diff --git a/.ci/targets/ios_platform_tests.yaml b/.ci/targets/ios_platform_tests.yaml index 7727efcfc169..a29d049b97c2 100644 --- a/.ci/targets/ios_platform_tests.yaml +++ b/.ci/targets/ios_platform_tests.yaml @@ -15,7 +15,7 @@ tasks: args: ["xcode-analyze", "--ios", "--ios-min-version=13.0"] - name: native test script: script/tool_runner.sh - args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=iPhone 13,OS=latest"] + args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=iPhone 14,OS=latest"] - name: drive examples # `drive-examples` contains integration tests, which changes the UI of the application. # This UI change sometimes affects `xctest`. diff --git a/packages/pigeon/tool/shared/test_suites.dart b/packages/pigeon/tool/shared/test_suites.dart index a6dfda07fcaa..cfbdae0cda40 100644 --- a/packages/pigeon/tool/shared/test_suites.dart +++ b/packages/pigeon/tool/shared/test_suites.dart @@ -323,7 +323,7 @@ Future _runIOSPluginUnitTests(String testPluginPath) async { return runXcodeBuild( '$examplePath/ios', sdk: 'iphonesimulator', - destination: 'platform=iOS Simulator,name=iPhone 13', + destination: 'platform=iOS Simulator,name=iPhone 14', extraArguments: ['test'], ); }