首先XCODE 10 在CommandLineTools工具进行了升级导致ur/incloude文件没有了 因为apple要以后拒绝使用unix风格.....。
这会需要通过
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
重新安装一遍 CommandLineTools 即可。
撤回返回之前的 CommandLineTools 只需 xcode-select -r 即可。