Xcode 7.2.1 crashes in DVTFoundation on opening files

Hi,


I've been having an issue with Xcode crashing very often for 2 days now.


The scenario is: I'm editing a Swift file, then either the syntax highligthing disappears, or the following message appears "An internal error occured. Source editor functionality is limited. Attempting to restore", or both. And then when I try to display another Swift file Xcode crashes.


I haven't had this issue editing Objectve-C files yet. This project uses both Swift and Objective-C and Cocoapods for dependencies.


I have these crashes pretty much every 5 minutes, it's becoming pretty blocking. 😟 Has anyone run into a similar issue or has an idea on how to fix it? I've tryed cleaning Derived Data, reinstalling Xcode, nothing has helped so far.


Here's the crash information:

Exception Type:        EXC_CRASH (SIGABRT)
Exception Note:        EXC_CORPSE_NOTIFY


Application Specific Information:
ProductBuildVersion: 7C1002
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-9544/DVTFoundation/Protocols/DVTInvalidation.m:410
Details:  Message sent to invalidated object: <DVTScopeBarController 0x7fc9e76990f0>.


Thanks! 🙂

I am having the same problem. Xcode is crashing whenever I try and open a file in the test suite. 😟

Swift OSX App project with few Obj-C files and podfiles and the same problem.

Noticed that it crashes more frequently if I switch to IB while syntax coloring is gone.

Having Same problem with cocoa pods.Xcode interupts very often.

XCode Version 7.3 (7D175) - Swift.


Same problem, since the last few days.

Apple Bug 25575230


For me, it's any Swift or Objective-C code on Xcode 7.3

I'm also getting this DVT crash 100x a day. Happens after switching tabs between interface builder and text editor, any ideas?

Xcode 7.2.1 crashes in DVTFoundation on opening files
 
 
Q