Check session from iOS objective-c application



I’m trying to get the Twitter session using this code:

[[Twitter sharedInstance] session].

I installed the Twitter kit with pod:

pod 'Fabric'
pod 'TwitterKit'.

But when I run the application, the build failed: "Use of undeclared identifier Twitter". This is how I imported it #import <Twitter/Twitter.h>.

How can I check if a Twitter session is active from my objective-c application using Fabric?