iOS
Xcode
Show Xcode app / build version
Show installed SDK versions
Install command line developer tools
Show selected command line tools
Reset to default command line tools path
Switch selected version
List available developer tools (location via xcode-select -p
eg. Xcode)
Xcode launch helper (command line tool for opening Xcode documents)
Simulator
Open simulator app
Open simulator app (direct path alternative)
Gestures
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)
https://fbidb.io/
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
Simulator Logs
Show iOS simulator app crash logs
Open Console.app
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
Cocoapods
Install cocoapods
Check pod version
Last updated