diff --git a/.ci.yaml b/.ci.yaml index 2d0db05cd45..c2eff748599 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -24,24 +24,24 @@ platform_properties: properties: dependencies: >- [ - {"dependency": "xcode", "version": "14c18"}, + {"dependency": "xcode", "version": "14e222b"}, {"dependency": "gems", "version": "v3.3.14"} ] os: Mac-12 device_type: none cpu: arm64 - xcode: 14c18 + xcode: 14e222b mac_x64: properties: dependencies: >- [ - {"dependency": "xcode", "version": "14c18"}, + {"dependency": "xcode", "version": "14e222b"}, {"dependency": "gems", "version": "v3.3.14"} ] os: Mac-12 device_type: none cpu: x86 - xcode: 14c18 + xcode: 14e222b targets: ### iOS+macOS tasks *** diff --git a/.ci/scripts/create_simulator.sh b/.ci/scripts/create_simulator.sh index a12bbee0af0..41f6a1146db 100755 --- a/.ci/scripts/create_simulator.sh +++ b/.ci/scripts/create_simulator.sh @@ -6,7 +6,7 @@ # The name here must match remove_simulator.sh readonly DEVICE_NAME=Flutter-iPhone readonly DEVICE=com.apple.CoreSimulator.SimDeviceType.iPhone-14 -readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-2 +readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-16-4 xcrun simctl list xcrun simctl create "$DEVICE_NAME" "$DEVICE" "$OS" | xargs xcrun simctl boot diff --git a/script/tool/lib/src/podspec_check_command.dart b/script/tool/lib/src/podspec_check_command.dart index 4cda7210a8e..dda08eee32b 100644 --- a/script/tool/lib/src/podspec_check_command.dart +++ b/script/tool/lib/src/podspec_check_command.dart @@ -141,6 +141,9 @@ class PodspecCheckCommand extends PackageLoopingCommand { podspecPath, '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. '--skip-tests', + // TODO(vashworth): remove allow-warnings when https://github.com/flutter/flutter/issues/125812 is fixed. + // https://github.com/flutter/flutter/issues/125812 + '--allow-warnings', '--use-modular-headers', // Flutter sets use_modular_headers! in its templates. if (libraryLint) '--use-libraries' ]; diff --git a/script/tool/test/podspec_check_command_test.dart b/script/tool/test/podspec_check_command_test.dart index a1244a2337b..a5815428273 100644 --- a/script/tool/test/podspec_check_command_test.dart +++ b/script/tool/test/podspec_check_command_test.dart @@ -143,6 +143,7 @@ void main() { .path, '--configuration=Debug', '--skip-tests', + '--allow-warnings', '--use-modular-headers', '--use-libraries' ], @@ -158,6 +159,7 @@ void main() { .path, '--configuration=Debug', '--skip-tests', + '--allow-warnings', '--use-modular-headers', ], packagesDir.path),