新来的同事用前任的旧mac-mini,发现xcode选中函数之后,不能Jump to Definition,提示“Symbol Not Found”
搞了半天,终于发现Xcode的Indexing被屏蔽了!
解决办法:
$ defaults write com.apple.dt.XCode IDEIndexDisable 0
如果还想再次禁止:
$ defaults write com.apple.dt.XCode IDEIndexDisable 1
查看当前状态是Enable还是Disable:
$ defaults find com.apple.dt.XCode IDEIndexDisable