I get a ‘The requested device could not be found because no available devices matched the request.’ error, what should I do?
xcodebuild: error: Unable to find a device matching the provided destination specifier:
{ platform:iOS Simulator, id:F01F35A7-C63F-46B3-9F36-***********C }
The requested device could not be found because no available devices matched the request.
Available destinations for the "Example" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-***************0, 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 }
※target simulator: iPhone 15 Pro Max iOS18 (F01F35A7-C63F-46B3-9F36-***********C)