Repository navigation
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to reproduce
- Install Xcode 27.1 beta
- sudo xcode-select -s /Applications/Xcode\ 26.4.app/Contents/Developer
- Run UIScene integration test: ../../bin/cache/dart-sdk/bin/dart bin/test_runner.dart test --exit -t uiscene_plugin_lifecycle_test_ios --local-engine ios_debug_sim_unopt_arm64 --local-engine-host host_debug_unopt_arm64
Expected results
Test passes
Actual results
Test failed:
Unable to create a device for device type: iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation), runtime: iOS 27.1 (27.1 - 24A94401) - com.apple.CoreSimulator.SimRuntime.iOS-27-1
It still tries to use iOS 27.1, even explicitly xcode-select 26.4
This is expected failure because 3rd gen ipad pro doesn't support ios 27 (btw we should fix that by using 4th gen ipad pro)
Solution:
| {'preferredBuild': final String build} => build, |
Add a new key:
{'chosenRuntimeBuild': final String build} => build,
Because
xcrun simctl runtime match list --json
This now uses a new key chosenRuntimeBuild rather than preferredBuild:
{
"appletvos26.4" : {
"chosenRuntimeBuild" : "23L236",
"defaultBuild" : "23L236",
"platform" : "com.apple.platform.appletvos",
"sdkBuild" : "23L236",
"sdkDirectory" : "\/Applications\/Xcode 26.4.app\/Contents\/Developer\/Platforms\/AppleTVOS.platform\/Developer\/SDKs\/AppleTVOS26.4.sdk",
"sdkVersion" : "26.4"
},
"iphoneos26.4" : {
"chosenRuntimeBuild" : "23E244",
"defaultBuild" : "23E237",
"platform" : "com.apple.platform.iphoneos",
"sdkBuild" : "23E237",
"sdkDirectory" : "\/Applications\/Xcode 26.4.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/SDKs\/iPhoneOS26.4.sdk",
"sdkVersion" : "26.4"
},
"watchos26.4" : {
"chosenRuntimeBuild" : "23T238",
"defaultBuild" : "23T238",
"platform" : "com.apple.platform.watchos",
"sdkBuild" : "23T238",
"sdkDirectory" : "\/Applications\/Xcode 26.4.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Developer\/SDKs\/WatchOS26.4.sdk",
"sdkVersion" : "26.4"
},
"xros26.4" : {
"chosenRuntimeBuild" : "23O238",
"defaultBuild" : "23O238",
"platform" : "com.apple.platform.xros",
"sdkBuild" : "23O238",
"sdkDirectory" : "\/Applications\/Xcode 26.4.app\/Contents\/Developer\/Platforms\/XROS.platform\/Developer\/SDKs\/XROS26.4.sdk",
"sdkVersion" : "26.4"
}
}
Code sample
NA
Screenshots or Video
NA
Logs
NA
Flutter Doctor output
NA
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Type
Projects
- StatusShow more project fieldsDone
Activity
jmagman commentedon Oct 15, 2026
See also #139917 and #139919
Handle newer "chosenRuntimeBuild" iOS simulator runtime key on device…
Handle newer "chosenRuntimeBuild" iOS simulator runtime key on device…
github-actions commentedon Oct 31, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.