解决 LLVM 错误 fatal error: ‘csignal’ file not found

/Users/exchen/Downloads/Unity-iPhone/Classes/main.mm:3:10: fatal error: ‘csignal’ file not found
#include 
^~~~~~~~~
1 error generated.
————————–
解决方法:由于项目中包含 C++ 文件,在 Build Settings 的 Header Search Paths 里增加 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ 就可以了。

 原文地址:https://www.exchen.net/%E8%A7%A3%E5%86%B3-llvm-%E9%94%99%E8%AF%AF-fatal-error-csignal-file-not-found.html

posted @ 2018-12-31 23:08  exchen  阅读(1289)  评论(0编辑  收藏  举报