Show Xcode app / build version
Show installed SDK versions
Install command line developer tools
xcode-select --install
Show selected command line tools
Reset to default command line tools path
Switch selected version
sudo xcode-select -s /Applications/Xcode<xxxx>.app
List available developer tools (location via xcode-select -p eg. Xcode)
ls -l /Applications/Xcode.app/Contents/Developer/usr/bin/
Xcode launch helper (command line tool for opening Xcode documents)
Open simulator app
Open simulator app (direct path alternative)
Position touch gesture points using OPTION / SHIFT
Engage touch by pressing (eg. click and hold mouse / trackpad)
Show touch gesture UI (scale distance between touches with mouse / trackpad)
Show touch gesture UI and move touches at set scale (release shift to adjust scale distance)
Toggle touch gesture UI to remain active with being engaged
Re-engage SHIFT to move touch points and hold OPTION to adjust scale distance
Simulator Commands
Show xcrun simulator commands
Show list of simulators (Sample device ID: 12AB3C4D-A12B-12A3-12AB-A12B34C5678D)
Get device ID for booted simulators
Boot / shutdown simulator device ID
Install IPA to Simulator
Rename from ipa to .zip and unzip
Install via xcrun to the booted device or specified device ID
iOS Development Bridge (idb)
Install
If fb-idb fails to install globally use --user install and add user location to path
List current simulators (shows device udid)
Load simulator
Shut down simulators
Show iOS simulator app crash logs
Navigate to "Diagnostic Reports"
Manual logs will show in Console.app when viewing the related simulator from "Devices"
Open system log from simulator (Shortcut: CMD + /)
SDK Configuration
Show current iPhone OS SDK path
When no SDK is selected switch Xcode versions
Install cocoapods
Check pod version