使用cocoapods

时间:2017-03-07 13:58:56

标签: ios facebook cocoapods xcode8

目前我正在使用Xcode8.2.1,最近我使用pod将Facebook SDK更新为4.1.0。我面对以下错误,如果我做错了,请告诉我。

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
  objc-class-ref in HomeViewController.o
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
  objc-class-ref in MyAccountViewController.o
  objc-class-ref in HomeViewController.o
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
  objc-class-ref in MyAccountViewController.o
  objc-class-ref in HomeViewController.o
"_OBJC_CLASS_$_FBSDKProfile", referenced from:
  objc-class-ref in MyAccountViewController.o
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
  objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

0 个答案:

没有答案