xcodebuild
Build Xcode projects. tldr-pages
On macOS
macOS
Build workspace
xcodebuild -workspace workspace_name.workspace -scheme scheme_name -configuration configuration_name clean build SYMROOT=path/to/SYMROOTIdentifyBuild project
xcodebuild -target target_name -configuration configuration_name clean build SYMROOT=path/to/SYMROOTIdentifyShow SDKs
xcodebuild -showsdksIdentify