原因是Xcode 10中将libstdc++.6.0.9库文件删除,原本功能迁移至其他库.

在终端输入以下命令打开Xcode的lib库目录,放入libstdc++.6.0.9.

真机运行库 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib

模拟器运行库

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib

相关文章:

  • 2021-10-19
  • 2022-12-23
  • 2021-05-02
  • 2021-08-27
  • 2021-09-18
  • 2021-11-27
  • 2019-05-26
猜你喜欢
  • 2021-10-12
  • 2021-05-03
  • 2021-10-10
  • 2021-07-20
相关资源
相似解决方案