我在编译clang时遇到了错误。似乎为 iOS 模拟器编译的地址清理程序存在问题。我看不出有任何理由链接到 x86_64 的 libclang.dylib。以前有人见过吗?或者有没有办法关掉它?
DYLIB: clang_darwin/ubsan_osx_dynamic/x86_64h:
/Users/bikineev/svn/clang/build/tools/clang/runtime/compiler-rt/clang_darwin/ubsan_osx_dynamic/x86_64h/libcompiler_rt.dylib
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later ld:
building for iOS Simulator, but linking against dylib built for MacOSX
file '/usr/local/lib//libc++.dylib' for architecture x86_64 clang:
error: linker command failed with exit code 1