library not found for -lstdc++.6.0.9
今天更新了xcode之后遇到问题,没有找到库-lstdc++.6.0.9
因为xcode9中有这个库,而到xcode10中,库已经被弃用了
解决方案
Xcode9中拷贝 -lstdc++.6.0.9以及libstdc++等库到Xcode10中(真机和模拟器都需要拷贝)
文件路径:
终端输入命令:打开xcode中lib目录,直接拷贝进去就行
1)真机:
open/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
2)模拟器:
open/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
library not found for -lstdc++.6.0.9

附件为 -lstdc++.6.0.9库,下载放进去就行,防止更新了新版本的Xcode找不到-lstdc++.6.0.9下载

参考:
https://www.jianshu.com/p/2bc05682bf19
https://www.jianshu.com/p/e939e51cc3ad

相关文章:

  • 2021-10-10
  • 2021-12-25
  • 2021-04-22
  • 2022-12-23
  • 2021-11-01
  • 2021-05-17
  • 2021-11-14
猜你喜欢
  • 2021-08-27
  • 2021-05-03
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案