Skip to content

Commit

Permalink
Test repo on Xcode 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman committed Jun 17, 2024
1 parent 1e62ab0 commit 25669b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,25 +90,25 @@ platform_properties:
[
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
]
os: Mac-13|Mac-14
os: Mac-14
device_type: none
cpu: arm64
$flutter/osx_sdk : >-
{
"sdk_version": "15a240d"
"sdk_version": "16a5171c"
}
mac_x64:
properties:
dependencies: >-
[
{"dependency": "ruby", "version": "ruby_3.1-pod_1.13"}
]
os: Mac-13|Mac-14
os: Mac-14
device_type: none
cpu: x86
$flutter/osx_sdk : >-
{
"sdk_version": "15a240d"
"sdk_version": "16a5171c"
}
targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci/scripts/create_simulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -o pipefail
# 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-17-0
readonly OS=com.apple.CoreSimulator.SimRuntime.iOS-18-0

# Delete any existing devices named Flutter-iPhone. Having more than one may
# cause issues when builds target the device.
Expand Down
2 changes: 1 addition & 1 deletion .ci/targets/ios_platform_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tasks:
- name: native test
script: .ci/scripts/tool_runner.sh
# Simulator name and version must match name and version in create_simulator.sh
args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=Flutter-iPhone,OS=17.0"]
args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=Flutter-iPhone,OS=18.0"]
- name: boot simulator
# Ensure simulator is still booted
script: .ci/scripts/boot_simulator.sh
Expand Down
4 changes: 2 additions & 2 deletions packages/pigeon/tool/shared/test_suites.dart
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ Future<int> _runIOSPluginUnitTests(String testPluginPath) async {

const String deviceName = 'Pigeon-Test-iPhone';
const String deviceType = 'com.apple.CoreSimulator.SimDeviceType.iPhone-14';
const String deviceRuntime = 'com.apple.CoreSimulator.SimRuntime.iOS-17-0';
const String deviceOS = '17.0';
const String deviceRuntime = 'com.apple.CoreSimulator.SimRuntime.iOS-18-0';
const String deviceOS = '18.0';
await _createSimulator(deviceName, deviceType, deviceRuntime);
return runXcodeBuild(
'$examplePath/ios',
Expand Down

0 comments on commit 25669b3

Please sign in to comment.