libstdc++.6.0.0.tbd or .dylib

∥☆過路亽.° 提交于 2019-12-06 02:32:58

When you add the library, rather than hunt though the list, just press "Add Other" then manually navigate to /usr/lib or just press "CMD + Shift + G" then type in "/usr/lib/libstdc++.dylib"

Here is a temporary solution.

  1. Download libstdc++. https://raw.githubusercontent.com/luapower/libstdcxx/master/bin/linux64/libstdc%2B%2B.a
  2. Unzip, copy /libstdcxx-master/bin/linux64/libstdc++.a to Xcode Frameworks, renamed libstdc++.6.0.9.a, make sure the Link Binary With Libraries also add in this file.
  3. Run again and pass the compilation.

if you want to solve the problem, you can try to manually copy the file to lib.

1.iPhoneOS and iPhoneSimulator file

copy the original file: libstdc++.6.0.9.tbd and libstdc++.6.tbd and libstdc++.tbd to :

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

2.iOS.simruntime file

copy the original file: libstdc++.6.0.9.dylib and libstdc++.6.dylib and libstdc++.dylib to:

  • /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!