加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

stdc++.6.0.9动态库缺失

发布时间:2020-12-16 09:18:05 所属栏目:百科 来源:网络整理
导读:问题 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之前的版本这个库复制进来 放到这个
  • 问题
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
链接: https://pan.baidu.com/s/1NWqsLwoiZvAdGOgLks30MA 提取码: kdi1

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读