Skip to content

Instantly share code, notes, and snippets.

@lippling
Created September 23, 2014 13:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lippling/c82d754266a40ce6405a to your computer and use it in GitHub Desktop.
Save lippling/c82d754266a40ce6405a to your computer and use it in GitHub Desktop.
Show installed iOS Simulators (Xcode 6+)
find ~/Library/Developer/CoreSimulator/Devices/ -name device.plist -exec sh -c "/usr/libexec/PlistBuddy -c \"print UDID\" '{}' | tr '\n' ' '" \; -exec sh -c "/usr/libexec/PlistBuddy -c \"print name\" '{}' | tr '\n' ' '" \; -exec sh -c "/usr/libexec/PlistBuddy -c \"print runtime\" '{}' | sed -n 's/com\.apple\.CoreSimulator.SimRuntime\.\(.*\)/\1/p'" \;
@lippling
Copy link
Author

lippling commented Nov 7, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment