Skip to content

Instantly share code, notes, and snippets.

@wcoder
Created October 17, 2019 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wcoder/2c6f997dc5e32ea55f8887accdbe8070 to your computer and use it in GitHub Desktop.
Save wcoder/2c6f997dc5e32ea55f8887accdbe8070 to your computer and use it in GitHub Desktop.
Snippets for launch ios app on device/simulator via terminal.

From VS4Mac & Rider:

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch \
--sdkroot /Applications/Xcode.app/Contents/Developer \
--devname "<DEVICE_NAME>" \
--killdev <APP_BUNDLE_NAME> \
--launchdev <PROJECT_PATH>/bin/iPhone/Debug/<PROJECT_NAME>.app \
--wait-for-unlock \
--argument=-connection-mode\
--argument=usb -sdk 10.0 \
--argument=-monodevelop-port \
--argument=10000 \
--setenv=__XAMARIN_DEBUG_PORT__=10000 \
--install-progress
--installdev "/Users/ypakala/Projects/sample.ios/Sources/sample.ios/bin/iPhone/Debug/device-builds/iphone8.1-12.2/sample.ios.app"
--device ios "--devname=Yauheni’s iPhone"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment