xcodebuild -list

Category: React Native & Mobile

xcodebuild -list

List schemes and targets in an Xcode project

xcodebuild is the command-line interface to Xcode builds. -list prints the project's schemes and targets — the exact names you need for -workspace and -scheme flags in later commands.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.