Swift SourceKitService Crashed

前端 未结 2 1819
礼貌的吻别
礼貌的吻别 2021-02-03 21:33

I have a Swift project using Core Data and the generated code for saveContext() is causing Xcode to crash with the SourceKitService Crashed error. When I comment it

2条回答
  •  不知归路
    2021-02-03 22:10

    I would work on various projects and continually get this error, sometimes to the point where Xcode became unusable. I eventually solved the problem by quitting Xcode, emptying out the ~/Library/Developer/Xcode/DerivedData folder, and then reopening the project.

提交回复
热议问题