Reputation: 271
I updated Xcode to the 6.1 version and now I don't understand why I can't select the simulator in the top left corner like in the previous version when I want to run my application. The only choice that appear is a general "iOS device".
Upvotes: 20
Views: 34635
Reputation: 1598
Command + ,
Platforms
tabNote: Sometimes the issue could be due to invalid cache, so if they were installed before yet you still face the issue, try removing (right click + Delete...) them from the platforms tab then downloading them again.
Once you are done with the previous steps you should be able to select simulators and create new ones.
Upvotes: -1
Reputation: 61
Go to Window -> Devices and Simulators, check whether there is any Simulator listed. If no, add by clicking over "-" over the lower left corner. Or if devices are there but you are not able to see them in devices to be choose from, then check for deployment target that might not be compatible with Xcode simulators, set target according to your Xcode support and you will see the simulators list.
Upvotes: 2
Reputation: 829
Go to File -> Project Settings -> Info. Change the deployment target to a lower or higher version.
Most probably you do not have a simulator installed for the current deployment target. You can do so by going to Xcode Preferences -> Downloads. In the Components section, you will see the options for downloading the simulators you already don't have.
Faced the same issue many times and found this solution. Hope this helps. :)
Upvotes: 30
Reputation: 23
in my case, after delete xcuserdata from my folder, then simulate only have my mac without any other options. after search, I found in scheme setting, Run->Info->Executable without any app. Then I select my app in the project. then simulator all come back.
Upvotes: 0
Reputation: 23623
I suspect that you are having issues communicating with CoreSimualtorService due to renaming Xcode.app or similar. This is mentioned in the Xcode 6.0 and 6.1 release notes. Unfortunately, the only workaround at the moment is for you to rename it back or reboot.
Update:
Note that for current (as of this update) versions of Xcode (7.2+), renaming should work ok. For best results, only use one version of Xcode at a time. If you start another version of Xcode while one is running, the previous one will loose access to simulator devices. Restarting it will cause it to have access to the simulator devices (and of course the other one to stop). Basically, the last one wins.
Upvotes: 5
Reputation: 1433
I experienced same issue.My OS is 10.9.5. I solved this issue by downloading IOS simulator 7.1 from Xcode Preferences -> Downloads -> iOS 7.1 Simulator. And then Windows -> Devices -> added simulator devices by clicking +.
Thanks.
Upvotes: 2
Reputation: 271
I finally found the solution. When I added a simulator in the devices menu (Shift+Cmd+2) I got this error: "Unable to determine SimDeviceSet, set_path=/Users/MyUser/Library/Developer/CoreSimulator/Devices" I checked the directory and there was not the folder "CoreSimulator", so I created it. I restarted XCode and now there are all the iOS Simulators selectable for running my app.
Thank you all.
Upvotes: 5
Reputation: 2530
Press "Window" and then "Devices", check if they appear there and if not - click the "+" icon in the lower left
Upvotes: 34