Xcode报错: An interal error occurred. Source editor functionality is limited. Attempting to restore.

花开一朵

最近Xcode升级到了10.1,在项目工程里面编辑代码区域,追踪方法时,发现顶部弹出弹框,信息为:An interal error occurred. Source editor functionality is limited. Attempting to restore.

解决办法一:

1.Xcode-->product-->clean,或者快捷键:command+shift+k
2.command+Q 完全退出Xcode
3.重启打开工程就OK了。

解决办法二:

关闭开发项目工程,完全退出Xcode,
回到Mac主页面-点击桌面顶部栏中的【前往】-【前往文件夹】,当然也可以使用快捷键:command+shift+G。
输入:

~/Library/Developer/Xcode/DerivedData

然后清空该DerivedData文件夹下的文件即可。

你可能感兴趣的:(Xcode报错: An interal error occurred. Source editor functionality is limited. Attempting to restore.)