I am having a issue with Xcode where the error “Source Kit Service Terminated” is popping up and all syntax highlighting and code completion is gone in Swift. How can I fix this?

Here is an example image:

enter image description here

34 Answers
34

The answer to mine (Xcode6-Beta7) was simply to delete the Derived Data folder.

Preferences > Locations > Derived Data > click the arrow to open in Finder > trash it.

Hope this helps someone. There’s obviously many reasons why this crash can occur.

Leave a Reply

Your email address will not be published. Required fields are marked *