编程语言
首页 > 编程语言> > library not found for -lstdc++.6.0.9

library not found for -lstdc++.6.0.9

作者:互联网

 

部分项目依赖 libstdc++.6.0.9 的会在Xcode 10无法运行,

其原因是Xcode 10中将libstdc++.6.0.9库文件删除(Xcode10把libstdc++换成了libc++),原本功能迁移至其他库

将文件 libstdc++.6.0.9.tbd 文件点击下载

复制到目录下

 

真机环境

/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/

即可解决

标签:libstd,lib,Xcode,c++,lstd,6.0,found,Developer
来源: https://blog.51cto.com/928343994/2855838