13

I created a new project in XCode.

File > New > Playground (option+shift+cmd+N)

enter image description here

I restarted my XCode and also rebooted my system, but still same error.

HDdeveloper
  • 4,396
  • 6
  • 40
  • 65
  • Verify device in for your target in Xcode, Next to scheme Name. Take a look at this: http://stackoverflow.com/questions/24039010/xcode6-ineligible-devices-section-appeared/24039323#24039323 – Duyen-Hoa Jan 14 '15 at 09:38

5 Answers5

22

From the developer forums, this worked for me:

  1. Quit Xcode
  2. Delete the folder /Users/<username>/Library/Developer/CoreSimulator/Devices. For example, in Terminal: rm -rf ~/Library/Developer/CoreSimulator/Devices
  3. In Terminal: killall -9 com.apple.CoreSimulator.CoreSimulatorService (or just reboot).
Aaron Brager
  • 65,323
  • 19
  • 161
  • 287
  • Note: in my case, when ~/Library/Developer/CoreSimulator/Devices was empty, the next launch of Xcode 7 auto-generated all possible device and iOS combinations based on the SDKs present on the system. Subsequently, the error went away, but i still don't know which particular simulator is the "Choosen Required One". – marc-medley Sep 28 '15 at 22:58
  • Thanks. Took me a while to find this solution. – kakubei Oct 05 '15 at 09:43
9

Fox Xcode 7, I had to install iPad Air or iPad Air 2 for the playground to work.

Nick Snyder
  • 2,966
  • 1
  • 21
  • 23
9

Another possible way to encounter that issue is to get Xcode being auto-updated, while the simulator was launched.

The solution is like mentioned above but more polite:

  1. Quit Xcode and Simulator app
  2. Run in Terminal: killall -9 com.apple.CoreSimulator.CoreSimulatorService
  3. Launch Xcode and find that all fixed now.

Sure, you can just reboot instead.

Dren
  • 2,017
  • 21
  • 18
7

Try navigating to the Xcode Menu Window >> devices (shift+cmd+2) a new window will pop up.

On the bottom left, add a new simulator, specifically one running on iOS 8.0 to the existing list.

Restart Xcode.

Mayank Gupta
  • 125
  • 2
1

As referred by @Mayank Gupta , It worked on adding new simulator and restarting the XCode.

enter image description here

enter image description here

HDdeveloper
  • 4,396
  • 6
  • 40
  • 65