Getting error while creating PFAnonymousUser using Parse iOS SDK
In iOS app I am using Parse SDK.
I am creating a Parse Anonymous user using code
[PFAnonymousUtils logInWithBlock:^(PFUser *user, NSError *error) {
if (error) {
NSLog(@"Anonymous login failed.");
} else {
NSLog(@"Anonymous user logged in.");
}
}];
I can create an anonymous user earlier. I am getting error as below in console. and without creating PFUser
+ [BFTask taskFromExecutor: withBlock:]: unrecognized selector posted to class 0x3ee868
Please help me on this issue.
Thanks in Advance.
+3
source to share
1 answer
I had the same problem and solved it as follows:
- Download the latest Facebook SDK and replace the old frameworks in your project.
- Copy the Bolts.framework file to the Frameworks folder (not sure why, but don't import it into the xCode project).
Compile and run and you shouldn't have any problems.
0
source to share