Sanchit Paurush
Sanchit Paurush

Reputation: 6152

Undefined symbols for architecture armv7?

Undefined symbols for architecture armv7:


 "_OBJC_CLASS_$_Facebook", referenced from:
      objc-class-ref in VideoPlayerController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is the Error that I am facing. Please give me the solution

Upvotes: 2

Views: 12786

Answers (1)

Ugur
Ugur

Reputation: 184

I finally solved the problem. Check the Library Search Paths in Build Phases. Xcode might have confused your library and you may need to correct it yourself by filling it "../lib" which is your Facebook SDK folder.

Upvotes: 3

Related Questions