为什么我会收到Source Kit Service终止错误? [英] Why do I get Source Kit Service terminated error?
本文介绍了为什么我会收到Source Kit Service终止错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
第二行出错了什么?
let modelURL = NSBundle.mainBundle().URLForResource("xxx", withExtension: "momd");
let managedObjectModel = NSManagedObjectModel.init(contentsOfURL: modelURL)
推荐答案
问题是第一行的;
字母结束,我删除它,现在它可以工作,不再弹出,这是一个有趣的副作用
the issue is the ";"
letter end of the first line, I removed it, and now it works, no popup anymore, that was an interesting side effect
这篇关于为什么我会收到Source Kit Service终止错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文