Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Xcode 6 --> Error SourceKit terminated. Editor functionality temporarily limited [duplicate]

Tags:

xcode

Sometimes I get this error in Xcode 6 and the canvas turns white.

enter image description here Am I the only one this happens to, or is it a bug?

like image 591
dpbataller Avatar asked Jun 05 '14 14:06

dpbataller


2 Answers

I still have this issue.

I have a working solution:

If you are targeting on iOS8, switch the deployment target to iOS7,

If this issue happen again, switch the deployment target to iOS8,

If this issue happen again, switch the deployment target to iOS7,

If this issue happen again, switch the deployment target to iOS8,

...

...

...

Hope this help you.

Update:

Seems this is better solution:

Quite Xcode, and delete all the folders in the DerivedData directory

like image 104
Meng Zhang Avatar answered Oct 03 '22 16:10

Meng Zhang


I use Xcode 6 beta5, when I declare member as lazy, it will show this error when I enter new line. It works when I remove the keyword lazy.

class PointZoomingView : ZYZoomingView, CMPopTipViewDelegate
{
    private ***lazy*** var pointButtonList: [PointButton] = []

    var hwRate: Double! = 1

[UPDATE] If your [PROJECT_NAME]-Bridging-Header.h import a non existing header file, the SourceKitService will be Terminated frequently

like image 38
ZYiOS Avatar answered Oct 03 '22 16:10

ZYiOS