Xcode 7 Beta 4 no simulators and can't open nibs

I've just updated to the latest Xcode 7 Beta 4 from Beta 3 and all of my simulators are missing and I can't install any of them. In addition, I can't open any of my Nibs in my project. It is returning a "Could not open document error". Is anyone else experiencing these problems?

Answered by seancook in 30358022

I experienced this, too, on El Capitan. NIBs wouldn't load, no Sims present, and unable to launch Simulators through the Xcode/Open Developer Tool/Simulator menu. After fighting it for a few hours I've finally got it working.


Here's what worked for me (YMMV):


I noticed a message in Console.app along the lines of the Simulator runtime not being code signed. I went to the path it described "/Library/Developer/CoreSimulator/Profiles/Runtimes" and removed the runtimes that I had there. They were old runtimes, so I assume that some check in Xcode now applies that didn't previously. Who knows?


After doing this, I could *finally* launch the Simulator via the Xcode/Open Developer Tool menu. Unfortunately, the Simulator still wasn't being shown as a run target in my workspace, so I kept spelunking...


I then went into the Simulator's Hardware/Devices/Manage Devices menu and added a new iOS9 device. It didn't seem to do anything, so I quit out of Xcode and Simulator.app. I then re-started Simulator.app (via Xcode/ODT/Simulator) and lo and behold the expected iOS9 simulators were displayed.


I closed and re-opened Xcode, changed the target OS for my project, and the Sims were finally displayed as run targets.


HTH.

FYI, I was able to resolve this by simply installing all the missing simulators, no other workarounds necessary. When they finished installing, I could build and run as before. This threw me at first because I was just trying to build to my device, not run in a simulator.

Same for me I dont have any folder for the given path so this also wont work for me

Thanks for posting this.

This helps me a lot.


Only missing thing is the folder "/Library/Developer/CoreSimulator/Profiles/Runtimes" is hidden after reacheing CoreSimulator (at-least for me it is). So I am not able to find it out directly in Finder.


Then I use terminal for reacing to the folder or open the destination folder using

Command

cd /Library/Developer/CoreSimulator/Profiles/Runtimes

Then used this command to delete all content from the folderCommand

rm -rf *

If gives Permission denied warings.use command with sudo as below

sudo rm -rf *


This will ask you for the administarotr password.


That's it.

Now all is working fine for me.

Please Try my solution you may get it solved.

This helped me part of the way... The final step I had to make was manually creating the directory /Users/reeves/Library/Developer/Xcode/UserData/IB Support/Simulator Devices ... Somehow this directory path no longer existed in my folder hierarchy. Everything after Developer no longer existed. I checked a couple of the log files using Console and noticed the error below.


The Console error:

Jul 28 03:22:02 CoreSimulatorService[517] <Error>: Set (/Users/reeves/Library/Developer/Xcode/UserData/IB Support/Simulator Devices) could not be created: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Simulator Devices” in the folder “IB Support”.


After manually adding the missing folders ... entering my admin password after each one ... Reopened Xcode 7 Beta 4 ... everything ran perfectly.


Thanks to Sean for getting me started, I've been stuck on this for about a week.

Im on Beta 3 and have the same issue

not worked for me, I updated my system to EI Captain beta 6. and I installed xcode 7 beta4. I cannot find the path, only Device dir on Path "/Library/Developer/CoreSimulator/". I am sure I have unhide the hidden dir, causing .DS_Store is showing.

People on http://9to5mac.com/2015/08/03/apple-releases-os-x-el-capitan-beta-6-to-developers/report that beta 6 completly breaks Xcode, no work arounds known so far.

Me too. I can not find CoreSimulator on Path "/Library/Developer".

Unfortunately, Seancook's solution not worked for me, too. I found no folder named "Coresimulator" on path "/Library/Developer".

I think that i have to roll back my OS via Time Machine, what a sad story:(

This solution worked the first time. But after installing the new Captan beta 6, the problem was here again and anything to do to remove it... Can't open storyboard files or launch the app in simulator or device...

Hey every one!/ After update EI Captain beta 6. and xcode 7 beta4 xcode not working - crash... just start and crash! And it is on MacBook and iMac!

What was your solution ?

Thanks, worked like a charm once I overcame my asterix blindness and actually included it in the sudo command. 😝

Check Mr. Parikh's answer. Worked for me when I had the same 'hidden' folder problem.

Xcode 7 Beta 4 no simulators and can't open nibs
 
 
Q