React-native-fbsdk: 'FBSDKGraphRequestConnection.h' file not found

Created on 29 Apr 2020  路  18Comments  路  Source: facebook/react-native-fbsdk

馃悰 Bug Report


Using an older version of React Native 59.8
FBSDK v5+

To Reproduce

Expected Behavior

Code Example

#import <Foundation/Foundation.h>

#import "FBSDKCopying.h"

#ifdef BUCK
#import <FBSDKCoreKit/FBSDKGraphRequestConnection.h>
#else
#import "FBSDKGraphRequestConnection.h"  **//'FBSDKGraphRequestConnection.h' file not foun**
#endif

Environment


React Native Environment Info:
System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 127.33 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 13.12.0 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.8 => 0.59.8
npmGlobalPackages:
react-native-cli: 2.0.1

All 18 comments

Updated the library version.

any solution so far?

Updated the library version.

Which library version??

Updated the library version.

Which library version??

2.0.0

image
image
image

I tried to update to the [email protected], but the error still exists.

any solutions?

any luck?

can anyone please explain to me what is the solution of this issue?? I request to reopen this issue as it is still not resolved.

Having the same issue here!
using
{
"react-native": "^0.59.9",
"react-native-fbsdk": "^0.8.0",
}

macOS Mojave 10.14.5 (18F132)
Xcode 11.2

This issue is still not resloved for me and can not fix it with all ways described here and other issue pages.

any solution?

any solution?

@eudago add search headers. what to add in search header? just search FBSDKGraphRequestConnection.h you will get file location, you can search in xcode or in project folder in finder.

any solution so far?

2.0.0
Added this version in package.json

Screenshot 2020-09-19 at 1 30 42 PM

while installing it says

Screenshot 2020-09-19 at 1 31 22 PM

but still having same issue

Open the issue as requested.

any updates ?

Still having the same issue

Same Issue! Did anyone found solution to this problem. I got this after upgrading react native to latest version(0.63.4). Previously using 0.59.0

Same Issue! Did anyone found solution to this problem. I got this after upgrading react native to latest version(0.63.4). Previously using 0.59.0

okay here is the thing, when you update from an old version to newer one the only thing could help is to follow the helper strictly
https://react-native-community.github.io/upgrade-helper/

Was this page helpful?
0 / 5 - 0 ratings