c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -



c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

here error:

duplicate symbol _objc_metaclass_$_bfapplinkreturntorefererview in: /users/user/documents/facebooksdk/facebooksdk.framework/facebooksdk(bfapplinkreturntorefererview.o) /users/user/desktop/project/project/project/assets/facebook/editor/ios/facebooksdk/facebooksdk.a(bfapplinkreturntorefererview.o) ld: 889 duplicate symbols architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)

i have searched find solution of error couldn't. there tons of similar error this, 1 hasn't been asked yet. problem shows when add together "-objc" "other linker flags". need add together utilize admob service. problem? how can solve this?

i faced same issue while integrating facebook-ios-sdk. because using 3rd party library had bolts.framework linked against it. solution found incorporate facebook-ios-sdk source code hosted on github. link: https://github.com/facebook/facebook-ios-sdk clone repo on scheme , open facebook-ios-sdk.xcodeproj in src directory, build phases tab, , alter 'required' field 'optional'. run script build_framework.sh scripts directory, integrate newly created facebooksdk.framework in build directory project.

same process can followed other such conflicting framework errors.

c++ ios xcode apple linker-error

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -