Xcode10报错之libstdc++.6.0.9.tbd未找到(library not found for -lstdc++.6.0.9)

下载
https://github.com/MonkeyHZT/libstdc-6.0.9

libstdc++

Xcode10中删除的libstdc++

其中文件夹 1、2、3、4 中的文件分别对应复制到Xcode10中的以下4个目录中即可:(进入到达文件夹 快捷键command+shift+go)

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

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

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

你可能感兴趣的:(Xcode10报错之libstdc++.6.0.9.tbd未找到(library not found for -lstdc++.6.0.9))