Skip to content

Instantly share code, notes, and snippets.

@nicnocquee
Created July 9, 2016 18:52
Show Gist options
  • Save nicnocquee/1a4234e01d91a90f371ba5114cc2c8fe to your computer and use it in GitHub Desktop.
Save nicnocquee/1a4234e01d91a90f371ba5114cc2c8fe to your computer and use it in GitHub Desktop.
Script to open simulator specify device and iOS
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID `xcrun instruments -s | grep "iPhone 6s Plus (9.3)" | grep -v "Apple Watch" | cut -d "[" -f2 | cut -d "]" -f1`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment