ios - How to properly link libc++ and libz in XCode? -


i'm pretty new xcode , tried link libc++ , libz in xcode, under build settings - other linker flags, when add new line says libc++ or libz, error stating no such file or directory libc++

i tried adding libc++.dylib , /usr/lib/libc++.dylib, still same error.

any appreciated.

[edit]

i in error message:

path="/applications/xcode.app/contents/developer/platforms/iphoneos. platform/developer/usr/bin:/applications/xcode.app/contents/developer/ usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" 

and this:

/-weak_framework corefoundation -weak_framework uikit /-weak_framework avfoundation -weak_framework coremedia /-weak-lsystem -objc libc++.tbd -fobjc-arc -fobjc-link-runtime /-framework fabric -framework assetslibrary -framework crashlytics /-framework security  clang: error: no such file or directory: 'libc++.tbd' 

is being linked correctly?

finally figured out myself, had add them using link binary libraries option under build phases.

https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/articles/addingalibrarytoatarget.html


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -