flutter_facebook_app_events
flutter_facebook_app_events copied to clipboard
[Bug]:
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
- Set pod and deployment targets to 11.0 iOS
- Download 0.16.0 pod version
- 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
Please elaborate if you did delete your pod cache and re-run install?
Please elaborate if you did delete your pod cache and re-run install?
I did yes
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
Same issue for me!!!
Is there any fix for this?
Hy, the latest 0.16.0 makes my iOS app crash immediatley. Exception Type: EXC_CRASH (SIGABRT)
@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.
Thank you @ofnewman, but the issue remains after updating to 0.16.0 again and adding the new line into the Info.plist
at 0.17.0 the issue persist, even with all the new setup steps done.
Thank you @ofnewman your solution works for me.
Any update for this Still I am facing the same issue.
@IMHitesh did you try the solution in https://github.com/oddbit/flutter_facebook_app_events/issues/230#issuecomment-1210423124 as suggested by @ofnewman
Yes, I was able to fix the issue by adding FacebookClientToken
to the plist. Thanks!!