Skip to content

Instantly share code, notes, and snippets.

@shahdhiren
Last active January 9, 2016 21:37
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 shahdhiren/384e5e6e386254a97054 to your computer and use it in GitHub Desktop.
Save shahdhiren/384e5e6e386254a97054 to your computer and use it in GitHub Desktop.
Create iOS Simulators if it is deleted from ~/Library/Developer/CoreSimulator/Devices locations
# To add iPhone 4s device with iOS 8.3 SDK
MacBook-Pro:~ dhirenshah$ xcrun simctl create "iPhone 4s" com.apple.CoreSimulator.SimDeviceType.iPhone-4s com.apple.CoreSimulator.SimRuntime.iOS-8-3
#output: C787348F-9A0F-40F5-9766-F0C76CE12616
# To add iPad Air device with iOS 8.3 SDK
MacBook-Pro:~ dhirenshah$ xcrun simctl create "iPad Air" com.apple.CoreSimulator.SimDeviceType.iPad-Air com.apple.CoreSimulator.SimRuntime.iOS-8-3
#output: 664212E9-9596-40E3-A130-28F52C2DD30B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment