capacitor-community / facebook-login

Facebook Login support
MIT License
103 stars 58 forks source link

No such module 'FBSDKCoreKit' #153

Open Saqib92 opened 5 months ago

Saqib92 commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Install plugin
  2. ionic cap sync
  3. ionic cap build ios
  4. Edit AppDelegate.swift file
  5. import FBSDKCoreKit
  6. Add function from plugin docs.

Expected behavior It should import FBSDKCoreKit successfully.

Screenshots Screenshot 2024-06-11 at 5 43 44 PM

Smartphone (please complete the following information):

Saqib92 commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Install plugin
  2. ionic cap sync
  3. ionic cap build ios
  4. Edit AppDelegate.swift file
  5. import FBSDKCoreKit
  6. Add function from plugin docs.

Expected behavior It should import FBSDKCoreKit successfully.

Screenshots Screenshot 2024-06-11 at 5 43 44 PM

Smartphone (please complete the following information):

  • Device: Iphone
  • OS: iOS 17
  • Plugin Version 6.0.0

Upgraded Capacitor from 5.x to 6.x using npx cap migrate now Facebook plugin in not working.

Facing same error in demo app if plugin install via NPM..

Saqib92 commented 4 months ago

This fork is working:

https://github.com/dragermrb/capacitor-plugin-facebook-login

karima-goubar commented 4 months ago

hi , I had the same issue I resolved-i by adding the facebook sdk package from the following url https://github.com/facebook/facebook-ios-sdk by following the steps under section :

TRY IT OUT

  1. In Xcode, select File > Swift Packages > Add Package Dependency.
  2. Follow the prompts using the URL for this repository
  3. Select the Facebook-prefixed libraries you want to use
forgr-owner commented 4 weeks ago

You can now use https://github.com/Cap-go/capacitor-social-login who implement Facebook with the latest SDK and limited login, and it's maintain by a company who maintain more than 30 plugins.