4

I have the following failed code when i run my application on iPhone 5.1 simulator. My app runs smoothly before i add in the Facebook Connect into my application.

Undefined symbols for architecture i386:
  "_FBCreateNonRetainingArray", referenced from:
      -[FBSession initWithKey:secret:getSessionProxy:] in FBSession.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

May I know what can i do to get rid of this?

Thanks

Paras Joshi
  • 20,427
  • 11
  • 57
  • 70
Clarence
  • 1,951
  • 2
  • 34
  • 49

1 Answers1

0

2 things that usually get rid of that error.

1) go to: target > build phases > link binary with library -- make sure you've added the correct framework 2) go to: target > build phases > compile sources -- add any implementation files that are in your program but do not appear in that list.

Those two steps usually fix that kind of error.

luca590
  • 460
  • 2
  • 5
  • 25