Why am I getting a source kit termination error message?

In the second line, something is wrong, what?

let modelURL = NSBundle.mainBundle().URLForResource("xxx", withExtension: "momd");
let managedObjectModel = NSManagedObjectModel.init(contentsOfURL: modelURL)

enter image description here

+4
source share
5 answers

the problem is the end of the letter ";"in the first line, I deleted it, and now it works without a popup, which was an interesting side effect

+2
source

In my case, I imported the missing files in the bridge header. After I deleted it, the error message disappeared.

+4
source

6+ , SourceKit Service Failure . , Frameworks, . .swift. ; () .

, .

+1

. , , , -, , - -. , , .

At the moment, you will probably have to play with it until you find a combination that does not force surfing in real time.

0
source

Set the target to 7.1, fix my problem. Hope this helps you.

Update: I have a working solution here, works for me:

Xcode 6 Error -> SourceKit Error Complete. Temporal limitations of editor functions

Hope Can Help

0
source

Source: https://habr.com/ru/post/1547315/


All Articles