• Victoria Ashworth's avatar
    Print pretty error when xcodebuild fails due to missing simulator (#130286) · 604010e9
    Victoria Ashworth authored
    Starting in Xcode 15, the simulator is no longer included in Xcode and must be downloaded and installed separately.
    
    If you try to run flutter and the simulator is missing, you'll get an error like
    ```
    xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                   		{ id:B1234A5C-67B8-901D-B2CB-FE34F56BDE78 }
    
                   	Ineligible destinations for the "Runner" scheme:
                   		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 17.0 is not installed. To use with Xcode, first download and install the platform }
    ```
    
    Print a pretty error to make it easier for developers to know what to do.
    
    Part 2 of https://github.com/flutter/flutter/issues/129558.
    604010e9
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...