FBSDKCoreKit/FBSDKCoreKit.h not found error

后端 未结 27 2012
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 11:07

I am implementing FB Login so i Downloaded the SDK from https://developers.facebook.com/docs/ios. then i drag n down FBSDKCoreKit, FBSDKLoginKit a

27条回答
  •  臣服心动
    2020-12-04 11:28

    I have installed react-native-fbsdk and link using react-native-link react-native-fbsdk.

    Follow instruction of following link

    https://developers.facebook.com/docs/react-native/configure-ios

    This provide to link react-native library using ios_setup.js There are following step which i have followed.

    1. Setup on facebook developer account.

    2. Install the file ios_setup.js by executing the following command in a command prompt at your project's root folder.

    curl -O https://raw.githubusercontent.com/facebook/react-native-fbsdk/master/bin/ios_setup.js

    1. Install the plist package, the xcode package, and the adm-zip package, by executing the following command. npm install plist xcode adm-zip
    2. Run the script ios_setup.js by executing the following command, and insert your app's App ID and App Name. If the name of your app is more than one word long, then enclose it between quotation marks.

    node ios_setup.js [App ID] [App Name]

    When run node ios_setup.js it wll automatically link all files in ios.

提交回复
热议问题