Apparently, you can start iOS app in Simulator from Terminal by running
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp
This does not work for a MonoTouch app—I’m getting a black Simulator screen.
How do I launch a compiled MonoTouch app in Simulator from Terminal?
Not sure why it does not work. Maybe the simulator that will start up might not be the version you expect. You might want to check inside
Console.appto see what went wrong.Anyway you can use
mtouchto start your application, e.g.You can also specify which version of iOS to use and the device (iPhone or iPad) to start.
By default it runs on iPhone simulator. Adding
--device=2flag will switch it to iPad.See
mtouchman page ormtouch --helpfor details.