launch xcode simulator code example Example: xcode open simulator open -a iPhone\ Simulator open -a iOS\ Simulator open -a Simulator