Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode simulator not coming up - reinstall possible?

Tags:

I ran out of disk space and had to clean up the folders on my hard disk. After the cleanup, when I run Xcode, the simulator is not coming up. I am not able to select a simulator to run, on Xcode. Most likely I deleted some folder required by simulator, in my cleanup. Xcode runs onto the device correctly. Anybody came across such a situation?

I deleted my Xcode and re-installed, but that did not solve the issue. As I can see, Simulator is a separate application (since we can close simulator without closing the Xcode). Is it possible to re-install Simulator alone? Or any other solution to get back my IOS simulator?

I know this is not a programming question, still hope can be posted here. Thanks in advance.

like image 366
zolio Avatar asked Dec 07 '14 00:12

zolio


People also ask

How do I enable simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.

How do you refresh iPhone simulator?

Selecting Reload (or pressing ⌘ + r in the iOS simulator) will reload the JavaScript that powers your application.


1 Answers

I was able to delete my simulator devices and re-install them by following this excerpt written for a user that was missing their simulator:

Open the Xcode > Open Developer Tool > iOS Simulator menu (if you get a pop up error just dismiss it). Once in the Simulator go to Hardware > Device > Manage Devices. Delete everything listed under simulator. Reboot your machine. After that navigate back to Manage Devices in the simulator and click the plus to add back your simulators. Then the iOS 8 simulators will show up. Hope that also helps you.

Here is where it came from: http://www.reddit.com/r/iOSProgramming/comments/2b9j2p/xcode_6_missing_ios_8_simulator/

like image 118
iCMS Avatar answered Sep 18 '22 15:09

iCMS