Engineering

Install Simulator Application

Build

xcodebuild -workspace <workspace> -scheme <scheme> -configuration <configuration> -arch i386 -sdk iphonesimulator

Find your device

$ xcrun simctl list devices

Boot the simulator.

$ xcrun simctl boot <device_id>

Install app to the simulator.

$ xcrun simctl install  <device_id> <path_to_app_bundle>

Launch app

$ xcrun simctl launch <Installed app bundle identifer>