SourceKitService 崩溃 [英] SourceKitService Crashed

查看:26
本文介绍了SourceKitService 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时我会遇到 Xcode 6.0.1 的问题,其中会弹出错误在 ~/Library/Logs/DiagnosticReports 中生成的 SourceKitService Crashed Crashlog",并且所有语法突出显示在 Swift 中都消失了.我该如何解决这个问题?

Sometimes I have an issue with Xcode 6.0.1 where the error "SourceKitService Crashed Crashlog generated in ~/Library/Logs/DiagnosticReports" is popping up and all syntax highlighting is gone in Swift. How can I fix this?

推荐答案

在 Xcode 6.1 (release, not GM) 中遇到这个问题.

Have this problem with Xcode 6.1 (release, not GM).

有一些神奇"的解决方案可以暂时有效,但需要重新启动.似乎有一个快速修复(不需要完全重启).

There a few "magic" solutions that works temporarily, but require a restart. There is quick fix that seems to hold (and does not require a complete restart).

删除内容:DerivedData/ModuleCache

Delete the content of: DerivedData/ModuleCache

(完整路径:~/Library/Developer/Xcode/DerivedData/ModuleCache)

(Full path: ~/Library/Developer/Xcode/DerivedData/ModuleCache)

这篇关于SourceKitService 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆