Xcodebuild -workspace '/path/to/Awesome.xcworkspace' -scheme 'Awesome-Production' -arch i386 -sdk iphonesimulator8.2Or, more likely, you are using Xcode app (not commandline), then just build the app as per normal.The build will be created at /Library/Developer/Xcode/DerivedData.So, if the build is successful, the app will be at /Library/Developer/Xcode/DerivedData/Awesome-dvxamtpiqakwogarovbwiagepzxj/Build/Products/Release-iphonesimulator/Awesome.app. This path is needed in the next step.
Run on SimulatorUse to help run on simulator.Install it with brew install ios-sim.Then run.