ios - Xcode 7 unable to find .dylib no existing solution is working for me -
no existing solution working me, can help? i've deleted references , added .dylib again in build phase (link library), added other linker flag (-lz -lsqlite3) nothing working.
here error:
/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/libtool: can't open file: /applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/iphoneos9.0.sdk/usr/lib/libsqlite3.dylib (no such file or directory)
sorry previous incomplete ans.
solution:
i applying existing solution in wrong place !!!
the problem in facebook sdk... remove reference of libsqlite3.dylib (facebook sdk > targets > build phase > link library) [also remove reference project navigation]
add "-lsqlite3" in facebook sdk > targets > build settings > other linker flags
if linker error, go app (targets) build settings > enable bitcode > no. (in xcode 7 default yes)
Comments
Post a Comment