twitterios5social-framework

Twitter Framework for iOS - Why does TWrequest.h import <Social/SLRequest.h>?


Inside of TWRequest.h that's inside of the Twitter Framework, there it imports this

#import <Social/SLRequest.h>

But TWRequest was built for iOS 5, so why would it import the Social Framework's file since those are for iOS 6?

I'm getting this error..

'Social/SLRequest.h' file not found

Of course it's not found because I didn't add in the Social Framework because I want to use the Twitter Framework. I can't simply remove it because that file is referencing from the Social framework, how can I fix this? Thanks


Solution

  • This seemed more of an xcode problem. Sometimes it worked and sometimes it threw the error. I had to exit xcode and restart for it to work again. It eventually fixed itself.