升级Xcode 10.1之后头文件导入问题
2019-01-14 本文已影响126人
赑屃王者
在更新Xcode 10.1之后,当 import头文件的时候,索引无效,无法联想出正确的文件;其实是只能索引当前文件夹同级目录下的头文件。
解决方法:
修改设置
Xcode -> File -> Workspace Settings -> Build System 改为 Legacy Build System


之后就可以正常导入了
在更新Xcode 10.1之后,当 import头文件的时候,索引无效,无法联想出正确的文件;其实是只能索引当前文件夹同级目录下的头文件。
解决方法:
修改设置
Xcode -> File -> Workspace Settings -> Build System 改为 Legacy Build System
之后就可以正常导入了