Hello Guido, The correct option is -device=2 as it match the UIDeviceFamily. All `mtouch` command line arguments are documented in [2]
Sebastien [1] http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW11 [2] http://iosapi.xamarin.com/?link=man%3amtouch(1) On Thu, Jan 24, 2013 at 1:29 PM, Guido Van Hoecke <[email protected]> wrote: > Hi, > > Launching my app on the iphonesimulator works as expected with > following command line: > > mtouch --launchsim MyApp.app > > The help page of mtouch mentions: > > --device=VALUE Specifies the device type to launch the simulator as > > But whatever value I specify as VALUE, it always comes up as iphone. > > Neither > --device=ipad nor > --device=iPad nor > --device=ipadsimulator nor > --device=iPadsimulator nor > --device=IPAD > seem to have any effect. > > > Any help or suggestion would be highly appreciated! > > > TIA, > > > Guido > > -- > Fashions have done more harm than revolutions. > -- Victor Hugo > > http://vanhoecke.org ... and go2 places! > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
