我在整合Facebook时遇到了一些错误。我是否正确配置了Facebook SDK?请指教。
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_Facebook", referenced from:
objc-class-ref in SettingView.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我执行了以下步骤:
XCODEBUILD_PATH=/Developer/usr/bin
到:XCODEBUILD_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin
facebook = [[Facebook alloc] initWithAppId:@"myAppID" andDelegate:self];
=============================
编辑:
好。我找到了解决方案。
我错过了链接到Xcode中的libfacebook_ios_sdk.a的1个步骤
最佳答案
好。我找到了解决方案。我错过了链接到Xcode中的libfacebook_ios_sdk.a的1个步骤