Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libstdc++.6.0.0.tbd or .dylib

Tags:

xcode

ios

sdk

So folks I'm developing an app and an SDK I use require adding libstdc++.6.0.0.dylib, and there's no .dylib when I search it and a .tbd shows up instead. I just googled the difference between the two and wanna know if it's okay that I add .tbd into my project instead of .dylib?

like image 914
Allen Avatar asked Mar 17 '16 10:03

Allen


2 Answers

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"

like image 194
Adrian Sluyters Avatar answered Sep 21 '22 22:09

Adrian Sluyters


If you are using xcode 11, you need to check the path to copy the library libstdc++. ~~/usr/lib path has changed.

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

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

like image 30
redlasha Avatar answered Sep 17 '22 22:09

redlasha