flutter_facebook_app_events icon indicating copy to clipboard operation
flutter_facebook_app_events copied to clipboard

[Bug]:

Open jovanovski opened this issue 2 years ago • 11 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

After running the latest (0.16.0) version, while compiling for iOS, the compilation fails with the error No such module 'FBSDKCoreKit'. If I downgrade to the previous 0.15.0 version, the compilation works as expected.

Expected Behavior

Compilation to happen with no issues.

Steps To Reproduce

  1. Set pod and deployment targets to 11.0 iOS
  2. Download 0.16.0 pod version
  3. Compile

Platform

iOS

Flutter Doctor

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm (Rosetta), locale en-MK)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

jovanovski avatar May 12 '22 12:05 jovanovski

Please elaborate if you did delete your pod cache and re-run install?

DennisAlund avatar May 21 '22 01:05 DennisAlund

Please elaborate if you did delete your pod cache and re-run install?

I did yes

jovanovski avatar May 21 '22 09:05 jovanovski

me too the same

Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

Swift Compiler Error (Xcode): No such module 'FBSDKCoreKit'
/Users/gpapadak/.pub-cache/hosted/pub.dartlang.org/facebook_app_events-0.16.0/ios/Classes/SwiftFacebookAppEventsPlugin.swift:2:7

Could not build the application for the simulator.
Error launching application on iPhone 13 Pro Max.

Did rm Podfile.lock rm -rf Pods pod install --repo-update

xalikoutis avatar May 30 '22 13:05 xalikoutis

Same issue for me!!!

IMHitesh avatar Jul 05 '22 13:07 IMHitesh

Is there any fix for this?

armandojimenez avatar Aug 03 '22 22:08 armandojimenez

Hy, the latest 0.16.0 makes my iOS app crash immediatley. Exception Type: EXC_CRASH (SIGABRT)

gysipos avatar Aug 08 '22 12:08 gysipos

@gysipos

Try adding this alongside the other keys to your info.plist:

<key>FacebookClientToken</key> <string>...</string>

You can find your FacebookClientToken on the FB App Dashboard under Settings > Advanced > Client Token.

ofnewman avatar Aug 10 '22 09:08 ofnewman

Thank you @ofnewman, but the issue remains after updating to 0.16.0 again and adding the new line into the Info.plist

gysipos avatar Aug 10 '22 10:08 gysipos

at 0.17.0 the issue persist, even with all the new setup steps done.

gysipos avatar Aug 22 '22 11:08 gysipos

Thank you @ofnewman your solution works for me.

bhautikkeraliya avatar Aug 28 '22 10:08 bhautikkeraliya

Any update for this Still I am facing the same issue.

IMHitesh avatar Aug 29 '22 05:08 IMHitesh

@IMHitesh did you try the solution in https://github.com/oddbit/flutter_facebook_app_events/issues/230#issuecomment-1210423124 as suggested by @ofnewman

DennisAlund avatar Sep 21 '22 05:09 DennisAlund

Yes, I was able to fix the issue by adding FacebookClientToken to the plist. Thanks!!

hiteshsurani avatar Sep 21 '22 05:09 hiteshsurani