Skip to content

iOS 18 simulator not found during iOS package native tests, even though simulator is present on previous step #150943

@jmagman

Description

@jmagman
 xcodebuild: error: Unable to find a device matching the provided destination specifier:
 		{ platform:iOS Simulator, OS:18.0, name:Flutter-iPhone }
 	The requested device could not be found because no available devices matched the request.
 	Available destinations for the "Runner" scheme:
 		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-001248C13660801E, name:My Mac }
 		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
 		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8744812286369264081/+/u/Run_package_tests/native_test/stdout

However a previous step creates and lists the simulator as booted

 -- iOS 18.0 --
     iPhone SE (3rd generation) (926E5AA7-7EFE-46FB-8AA3-23A86A78D68C) (Shutdown) 
     Flutter-iPhone (43B89270-378A-4939-8E49-93BDEAE77FF2) (Booted) 

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8744812286369264081/+/u/Run_package_tests/create_simulator/stdout

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testspackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions