How do I run the mtouch command to run a Xamarin.iOS app on a simulator for automated testing?

I am new to Xamarin and I need to be able to run a Xamarin iOS app on an iOS simulator from the command line. I tried to start mtouch, but obviously I am missing something because I cannot successfully start the application on the simulator. I don't know if I am missing some environment variable when setting up or if I am running it from the wrong location as I get the "Cannot find command" error.

+3


source to share


1 answer


mtouch -launchsim Hello.app

      

mtouch docs here



On Mac, the mtouch binary should be here

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch

      

+5


source







All Articles