I'm trying to upgrade the facebook sdk for iOS from 3.0 to 3.1.1. I've added the new FacebookSDK. I suppose that I did it correctly, it's easy... Installing the downloaded FacebookSDK-3.1.1.pkg and drag&drop facebook.framework and FacebookSDKResources.bundle to the frameworks of the project.
I'm trying to use openActiveSessionWithReadPermissions: method but when I build the project I get the message "No known class method for selector 'openActiveSessionWithReadPermissions:"
I don't know why because if I check the FacebookSDK.framework headers I can see the openActiveSessionWithReadPermissions: in the FBSession.h class...
I've cleaned the Build Folder, the derived data folder, the os x caches,...
What is happening?
Thanks a lot,
Carlos
The problem was that FacebookSDK.framework had been copied previously in the project folder. So, Xcode found the old framework on the project folder.
Solution: deleting the FacebookSDK.framework from the project folder.