Search code examples
iphoneipadios-simulatorsharekit

Linker error when compiling ShareKit


I am trying to compile ShareKit for my project, but I'm getting a linker error:

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

How can I resolve this?


Solution

  • I think firstly u should googled with your error. Just add Twitter Framework

    • yourproject > Build Phases > Link Binary with Libraris> Twitter.framework.