9

I installed these pod files.

pod 'TwitterKit'

pod 'TwitterCore'

When I try to import file i. e #import < TwitterKit/TwitterKit.h > it is showing not found error.

Why it is comming any idea ? anything going wrong or anything is pending to add ?

Nikos M.
  • 13,685
  • 4
  • 47
  • 61
Nikita Patil
  • 674
  • 1
  • 7
  • 17

3 Answers3

16

Since version 3.3.0 TwitterKit has a new home on github, the installation page states that you need to import like this:

#import <TwitterKit/TWTRKit.h>

Edoardo
  • 4,485
  • 1
  • 27
  • 31
MK_iOS
  • 388
  • 5
  • 13
12

Import it as a module using @import TwitterKit.

Nikos M.
  • 13,685
  • 4
  • 47
  • 61
0

Before import tries to clean and build your project or restart Xcode, then import Twitter.

Pratik Prajapati
  • 1,137
  • 1
  • 13
  • 26