File FBSDKCoreKit / FBSDKCoreKit.h not found.

Try installing the Facebook SDK to respond to natiove iOS.

I have a file FBSDKCoreKit / FBSDKCoreKit.h that was not found and spent several hours trying to solve it using different solutions, but I can’t understand what is going wrong ((

Any ideas?

reaction-native 0.40 response-native-fsdk 0.5.0 facebook sdk: 4.19.0

+4
source share
5 answers
  • Check if you have completed react-native linkthe RN in your project.
  • Manually check Linked Frameworks and libraries, you have libRCTFBSDK.a . If not, click the “+” button at the bottom and connect it.
  • response-native < 0.40 , react-native upgrade RN npm install react-native@latest --save
  • , sdk ~/Documents/FacebookSDK. , .

, .

Try:

rm -rf ./node_modules
watchman watch-dell-all
npm cache clean
npm install
react-native run-ios
+13

: CocoaPods, / SDK .


SDK , :

  1. ~/Documents/FacebookSDK;

  2. , :

screenshot.png

, macOS iCloud! ( Apple)

  1. , .

!


, :

  • , ;
  • sudo chmod -R 755 ~/Documents/FacebookSDK;
  • ;
  • .
+14

, , RCTFBSDK ~/Documents/FacebookSDK non-recursive. , , "" RCTFBSDK.xcodeproj. ,

enter image description here

, , SDK. SDK Facebook , . , 4.12 ~/Documents/FacebookSDK/4.12, RCTFBSDK *.framework.

, RCTFBSDK.xcodeproj ~/Documents/FacebookSDK recursive Framework. .

+10

FBSDK Path. //FacebookSDK

/RCTFBSDK.xcodeproj/Frameworks/

,

.

+1

Xcode 10.x → RCTFBSDK.xcodeproj $ (HOME)/Documents/FacebookSDK ~/Documents/FacebookSDK " " → " ".

0

Source: https://habr.com/ru/post/1668582/


All Articles