facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 910 forks source link

'FBSDKGraphRequestConnection.h' file not found #740

Open raazatul7 opened 4 years ago

raazatul7 commented 4 years ago

🐛 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

raazatul7 commented 4 years ago

Updated the library version.

UmairRehmat commented 4 years ago

any solution so far?

UmairRehmat commented 4 years ago

Updated the library version.

Which library version??

raazatul7 commented 4 years ago

Updated the library version.

Which library version??

2.0.0

kelvin960606 commented 4 years ago

image image image

I tried to update to the react-native-fbsdk@2.0.0, but the error still exists.

any solutions?

hueyAtFetchly commented 3 years ago

any luck?

RamanPndy commented 3 years ago

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.

fbaralle commented 3 years ago

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

nenko commented 3 years ago

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

eudago commented 3 years ago

any solution?

UmairRehmat commented 3 years ago

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.

ahsanmster commented 3 years ago

any solution so far?

ahsanmster commented 3 years ago

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

raazatul7 commented 3 years ago

Open the issue as requested.

HeshamEG commented 3 years ago

any updates ?

NooruddinLakhani commented 3 years ago

Still having the same issue

Homitag12 commented 3 years ago

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

UmairRehmat commented 3 years ago

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/

harshalijain commented 3 years ago

Getting the same issue, require solution immediately