SSH: Best for repeatable, auditable tasks
Dependency installation, code checkout, compilation, testing, log inspection, and file verification are all well suited to SSH. During brief network disruptions, tmux, screen, or CI Runner can keep tasks running on the device.
- Ideal for xcodebuild, fastlane, and scripted pipelines
- Commands, output, and exit codes are easy to retain in logs
- Most operations do not require continuous desktop streaming