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.
Comments
Post a Comment