Sometimes I have an issue with Xcode 6.0.1 where the error "SourceKitService Crashed Crashlog generated in ~/Library/Logs/DiagnosticReports" is popping up and all syntax highlighting is gone in Swift. How can I fix this?
Have this problem with Xcode 6.1 (release, not GM).
There a few "magic" solutions that works temporarily, but require a restart. There is quick fix that seems to hold (and does not require a complete restart).
Delete the content of: DerivedData/ModuleCache
(Full path: ~/Library/Developer/Xcode/DerivedData/ModuleCache)
This is a bug in Xcode and you cannot do much about it.
Update to Xcode 6.2 Beta 1 or higher if you want as the situation improved there. Still happening occasionally though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With