解决办法:打开终端输入:defaults write com.apple.dt.XCode IDEIndexDisable 1 然后重新打开工程就可以了 转载于:https://www.cnblogs.com/yang-shuai/p/7575046.html