react-native-fbsdk/ios/RCTFBSDK/login/RCTFBSDKLoginManager.m:78:3: Unknown type name 'FBSDKLoginManagerLoginResultBlock'; did you mean 'FBSDKLoginManagerLoginResult'?

Created on 22 Jun 2019  路  8Comments  路  Source: facebook/react-native-fbsdk

Same issue, anybody find solution?

Screen Shot 2019-06-22 at 15 00 34

Screen Shot 2019-06-22 at 15 00 52

_Originally posted by @erdemildiz in https://github.com/facebook/react-native-fbsdk/issues/570#issuecomment-504660065_

Most helpful comment

FacebookSDK_Static.zip
Then I copied these into the frameworks:
Screen Shot 2019-06-22 at 1 20 01 PM

All 8 comments

I just encountered this same problem. I fixed it by using the latest version of the SDK which I found here: https://github.com/facebook/facebook-objc-sdk/releases

@GenghisJuan Which version and files did you download? I download 5.1.0 version. I am getting Foundation.framework/Headers/Foundation.h:48:9: 'Foundation/NSKeyedArchiver.h' file not found error.

FacebookSDK_Static.zip
Then I copied these into the frameworks:
Screen Shot 2019-06-22 at 1 20 01 PM

@GenghisJuan Thanks, It's worked!!

@erdemildiz @GenghisJuan

Thanks, your solution worked to get the build running. I am running to an error with the FB login now, as described here: https://github.com/facebook/react-native-fbsdk/issues/583

did you have to use cocoapods to get this API working properly?

Hey @GenghisJuan how you did to make it run?
I was making a facebook login today and after trying to run on xcode i am facing the same issue.
Initializing 'FBSDKLoginManagerLoginResult *__strong' with an expression of incompatible type 'void (^)(FBSDKLoginManagerLoginResult *__strong, NSError *__strong)'

What do i have to do?
Thanks

I have the same issue here, but only in debug mode. In release mode, works for me. Any solution?

Gonna close this since the initial error is resolved. Version 0.10+ is only compatible with version 5+ of the fbsdk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

justin808 picture justin808  路  3Comments

stevesaygoodbuycom picture stevesaygoodbuycom  路  5Comments

emroot picture emroot  路  5Comments

smzeeshan91 picture smzeeshan91  路  4Comments

nlindeke picture nlindeke  路  5Comments