EmbCoder
EmbCoder

Reputation: 572

How to run mtouch command to launch Xamarin.iOS app on simulator for automated testing?

I am new to Xamarin and I need to be able to launch a Xamarin iOS app on iOS simulator from command line. I have tried running mtouch but obviously am missing on something as I am not able to successfully launch the app on simulator. I don't know if I am missing on setting any environment variable or am running it from a wrong location as I am getting "Cannot find command" error.

Upvotes: 4

Views: 1042

Answers (1)

Jason
Jason

Reputation: 89214

mtouch -launchsim Hello.app

mtouch docs are here

On a Mac, the mtouch binary should be here

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

Upvotes: 6

Related Questions