No such module ‘RestKit’ with cocoapods and swift
I had the same problem. My solution was to open the project using the .xcworkspace, not the .xcodeproj. .xcodeproj only contains the main project; .xcworkspace includes everything including Restkit.
I had the same problem. My solution was to open the project using the .xcworkspace, not the .xcodeproj. .xcodeproj only contains the main project; .xcworkspace includes everything including Restkit.
Just an update for everyone, it’s finally assigned to somebody at Facebook: https://developers.facebook.com/bugs/168127053284477 – hopefully it will be fixed soon. Meanwhile, somebody sent a pull request on github with a fix: https://github.com/facebook/facebook-ios-sdk/pull/436 Hope it helps someone, as I was still facing the same bug..
Another answer gives a way to manually resync the device with the server. I defined a method called fbRsync to call this code. Make sure to #import <Accounts/Accounts.h> in your implementation file and then define this method: -(void)fbResync { ACAccountStore *accountStore; ACAccountType *accountTypeFB; if ((accountStore = [[ACAccountStore alloc] init]) && (accountTypeFB = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook] ) … Read more
That is actually the only way to do it. There is no special iOS like button. However, the good news is that just today Facebook announced single sign in support for mobile apps. This should remove some of the burden the user faces to log in to facebook.
This isn’t currently (June 2012) possible because of a bug in the API: https://developers.facebook.com/bugs/206254392780441 has the details. One workaround is to post to the /feed connection of the page and attach an image to the feed story. That image won’t be displayed as large as a proper photo upload, but should work OK. That bug … Read more
This problem happens because of the Facebook SDK for iOS. Application Loader forbids the use of the variable “id” from any FBGraphUser related class (maybe others variables too, didn’t test) – e.g. : id<FBGraphUser> friend id<FBGraphUserExtraFields>user Facebook is informed about this problem as of january 2013 : Bug Report The workaround for the moment is … Read more
I don’t know if you ever found a solution, but I’m trying to do something similar and I’m still putting the pieces of the puzzle together. I had tried to post this as a comment instead of an answer, as I do not provide a real solution, but it’s too long. Apparently all of the … Read more
For SDK 3.2 or above we have a facility to use FBWebDialogs class that will help us to show a popup along with the friend list and pick one or more from list to send invitation. Lets do it step by step: 1) Download and setup SDK 3.2 or above. 2) First setup your application … Read more
Why do I see console messages like ‘canOpenURL: failed for URL: “fb…://’ or ? This is an Xcode warning indicating the the canOpenURL: call returned false. As long as you have configured the LSApplicationQueriesSchemes entry in your plist as described above, you can ignore this warning.
The Facebook account on the device has become out-of-sync with the server as well as with the App’s/SDK’s cache. This can be solved by calling the ACAccountStore method renewCredentialsForAccount, which will update the OS’s understanding of the token state. In the next update of the SDK, the SDK will automatically call this API when it … Read more