Xcode --> File --> Project Settings --> Build System --> Legacy Build System
1.打开xcode
2.找到“File”中的“Project Settings”,点击进入
3.找到“Build System”选项框,选择“Legacy Build System”选项,然后保存。
Xcode10 #import 不提示头文件
原文:https://www.cnblogs.com/Yun-Longcom/p/11597512.html