ios - Facebook sdk is not a dylib error after update update Xcode 7? -
i got errors facebook sdk after update xcode 7 when tried build project code below.
ld: warning: auto-linking supplied '/users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdksharekit.framework/fbsdksharekit', framework linker option @ /users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdksharekit.framework/fbsdksharekit not dylib ld: warning: auto-linking supplied '/users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdkcorekit.framework/fbsdkcorekit', framework linker option @ /users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdkcorekit.framework/fbsdkcorekit not dylib ld: warning: auto-linking supplied '/users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdkloginkit.framework/fbsdkloginkit', framework linker option @ /users/manjarb/desktop/hubbalabs/lib/facebooksdk/fbsdkloginkit.framework/fbsdkloginkit not dylib
how fix this? thanks!
when install facebook sdk ios frameworks way facebook advices it, 2 things:
- create "frameworks" group in xcode if doesn't exist
- drag used frameworks "frameworks" group (this automagically creates entry in build phases -> link binary libraries)
set framework search paths .../facebooksdks-ios/
you "not dylib" warning when succeeded 2. did not 1. correctly.
in case got warning bolts.framework
, didn't use directly used fbsdkcorekit.framework
.
dragging bolts.framework
xcode next fbsdkcorekit.framework
fixed warning.
Comments
Post a Comment