stdc++.6.0.9动态库缺失

  • 问题
ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
  • 官方解释
 
Xcode更新后没有这个库了,可是老的代码依赖了这个库,所以要从Xcode10之前的版本这个库复制进来
  • 放到这个路径:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
  • 下载
如果你没有老版本的Xcode,我已经给你准备了,在这里下载stdc++.6.0.9

posted @ 2019-08-28 13:50  liyongjie  阅读(1488)  评论(0编辑  收藏  举报