ld:-lstdc ++。6找不到库
clang:错误:链接器命令失败,退出代码为1(使用-v查看 调用)
像我一样有很多问题, 但是我没有找到解决这个问题的任何方法。
答案 0 :(得分:0)
尝试像以前一样从以前的Xcode版本进行复制: cp -r /Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include /
cp /Applications/Xcode_9.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libstdc++.* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib /