ld: library not found for -lstdc++.6
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
有很多像我这样的问题,
但我没有找到任何解决这个问题的方法。
Best Answer-推荐答案 strong>
尝试像我一样从以前的 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/
关于ios - ld : library not found for -lstdc++. 6 - Xcode 10,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/52453917/
|