Xcode Crashes Over and Over Again: Xcode quit unexpectedly while using the dsc_extractor.bundle plug-in.

Looks like I'm having a bad morning. I'm on 10.11.6 and Xcode 7.3.1.


Xcode keeps crashing. When I re-launch Xcode, it restores the window of my open project and crashes again. I rebooted my machine and was able to start working again for about 5 minutes and now it is doing it again.


When relaunching I get:


Xcode quit unexpectedly while using the dsc_extractor.bundle plug-in.


I sent probably 10-15 crash reports to Apple.

Took a break from iOS for a couple of days and was working on Mac apps...just plugged in my iPhone and boom.


This worked:

I went to ~/Library/Developer/Xcode/iOS DeviceSupport/(iOS Version of the device) and deleted 9.3.3. Found the answer on Stackoverflow.


Thanks for the help.

Turned off Restorable windows in settings, but Xcode continues to try to restore the window hen relaunching the app. I event quickly force quit while it's beach balling...and then the next time it opens I'm asking "You forced Xcode to quit last time, do you want to restore windows?" I say no, but it does it anyway.

Well..now I get the welcome window when launching finally...but once I click my project, Xcode crashes right away. Lovely.

It seems that disconnecting my iPhone stops the crash. I just reconnected my iPhone and hit the crash again. I guess there some issue going on when xcode is processing symbol files.


Not sure what to do about that.

err...grabbed my old iPhone and used that. Not sure what's going on with Xcode and my iPhone 6.

whenever I get xcode crashing at launch when it first opens a project, i find the .xcodeproj for that project, but use a terminal.


.xcodeproj is actually a folder (directory) when viewed from the cmd line


then cd into the *.xcodeproj dir and find 2 files:


xcuserdata and project.xcworkspace


rename these to something else. i usually just add a .1 to the end of them


dont mess w/ project.pbxproj file, that is the Real project


then relaunch xcode and pick the project. all windows that you had open will be closed.

project will be in a 'fresh' state but all files will be there. some settings if you had set any of them may be reset also, such as in Schemes.

it seems to be mainly schemes and run-time /debug-time settings that get reset.

I dont know what else gets reset, but usually this gets me back to square 1 and then i can recover.


i found this a long time ago on some forum. it is a brutal problem. a lot of people were suggesting [make a new xcode project

and copy all your files into it, starting from fresh]. that is an even worse solution i think.


those xcuserdata and *.xcworkspace get regenerated when xcode launches and you open the project


the reason to rename instead of delete those files: in case anything you Really need is in them, you can poke in the files to see what's in them that you need.


this falls into the category of Xcode lore I think, not official apple policy, but it has done the trick for me dozens of times. probably >> 100.


i sometimes do this when xcode gets laggy also. it seems to clear a bunch of temp garbage and gets you a responsive dev environment again.

Hey thanks for the suggestion. Xcode seems to be hitting this crash when I connect my iPhone. It doesn't look like it matters what Xcode project I have open, so I doubt digging into the package would fix the issue.


This situation is bad. Not a good look.

hey since it's device related, what about this:


go to:


~/Library/Developer/Xcode/iOS DeviceSupport


in there are a bunch of per-device / per-iOS-level folders like:


drwxr-xr-x 4 staff 136 Mar 29 09:55 9.2.1 (13D15)

drwxr-xr-x 4 staff 136 Jun 8 16:05 9.3.1 (13E238)

drwxr-xr-x 4 staff 136 Aug 2 10:05 9.0.2 (13A452)

drwxr-xr-x 4 staff 136 Aug 2 11:59 9.3 (13E234)


maybe try to rename the one directory of the offending device and let it re-install the

device support for that device? (it should reinstall next time you connect the device)


e.g. if the problematic device is at 9.0.2, rename the related directory


note there are blank spaces in the paths so if you use cmd line to change the dir name

you have to quote it:


mv '9.0.2 (13A452)' 'save9.0.2 (13A452)'


i have messed w/ these folders before, like sometimes running low on disk space i move an old one to another

disk and make a link, and it doesnt seem to disrupt things in xcode


i wouldnt do it when xcode is running tho

Accepted Answer

Took a break from iOS for a couple of days and was working on Mac apps...just plugged in my iPhone and boom.


This worked:

I went to ~/Library/Developer/Xcode/iOS DeviceSupport/(iOS Version of the device) and deleted 9.3.3. Found the answer on Stackoverflow.


Thanks for the help.

Xcode 14.2 is crashing randomly again and again. Apple fix this issue ASAP!!!!

Well although it's been quite some time it seems as though still hasn't figured it out yet. Every time I run the program, edit a single like of code, then try to restart, it crashes. Everytime... c'mon Apple, I talked so much $%#! to my DELL friends.

Xcode... fitting name for an app that doesn't work.

Xcode Crashes Over and Over Again: Xcode quit unexpectedly while using the dsc_extractor.bundle plug-in.
 
 
Q