In CocoaPods Twitter kit the header TWTRSessionStore.h is missing hasLoggedInUsers and other stuff compared with a manual download of the framework so this does not work.
if ([[Twitter sharedInstance].sessionStore hasLoggedInUsers])
I solved my problem