Closed Tom3652 closed 1 year ago
@Tom3652 please could you try to install this plugin directly from github using this in your pubspec.yaml?
flutter_facebook_auth:
git:
url: https://github.com/darwin-morocho/flutter-facebook-auth.git
ref: master
path: facebook_auth/
Next run
cd ios && pod update flutter_facebook_auth
Let me know if this fix your error
I am getting the following :
/Users/foxtom/Desktop/flutter/bin/flutter --no-color pub upgrade
Resolving dependencies...
Git error. Command: `git rev-list --max-count=1 master`
stdout:
stderr: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
exit code: 128
pub finished with exit code 69
Process finished with exit code 69
I am retrying with a basic pub get
in the meantime
ref: master
remove ref: master
I have a pod warning and then the build fail because of the pods : [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/foxtom/StudioProjects/myAppName/ios/Pods/FBSDKCoreKit/XCFrameworks/FBSDKCoreKit.xcframework)
I have done a flutter clean
as well and a global pod update
/ pod install
and the pod install
fails when running the iOS app. There is nothing else written except this
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries:
@Tom3652 check this https://github.com/flutter/flutter/issues/58584#issuecomment-655364008
I did manage to build the app with the link you provided, but the initial issue is still here (my app crashes at app start) :
Launching lib/main.dart on Tommy’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: XQ67HHZJUC
Running pod install...
Running Xcode build...
Xcode build done. 122,0s
Installing and launching...
(lldb) dyld[2696]: Symbol not found: _$s12FBSDKCoreKit27ServerConfigurationProviderCMn
Referenced from: <5CC4DAB0-BD6F-35BA-9A53-71CD55B7A620> /private/var/containers/Bundle/Application/572BCAA6-BFB0-49DB-AF71-3845EC656C09/Runner.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
Expected in: <0D43A9F9-2A23-386C-9568-E0D28099B3D5> /private/var/containers/Bundle/Application/572BCAA6-BFB0-49DB-AF71-3845EC656C09/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
* thread #1, stop reason = signal SIGABRT
frame #0: 0x00000001e2f74ce0 dyld`__abort_with_payload + 8
dyld`:
-> 0x1e2f74ce0 <+8>: b.lo 0x1e2f74cfc ; <+36>
0x1e2f74ce4 <+12>: stp x29, x30, [sp, #-0x10]!
0x1e2f74ce8 <+16>: mov x29, sp
0x1e2f74cec <+20>: bl 0x1e2f18de4 ; cerror_nocancel
Target 0: (Runner) stopped.
Error launching application on Tommy’s iPhone.
using :
flutter_facebook_auth:
git:
url: https://github.com/darwin-morocho/flutter-facebook-auth.git
path: facebook_auth/
I did manage to build the app with the link you provided, but the initial issue is still here (my app crashes at app start) :
Launching lib/main.dart on Tommy’s iPhone in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: XQ67HHZJUC Running pod install... Running Xcode build... Xcode build done. 122,0s Installing and launching... (lldb) dyld[2696]: Symbol not found: _$s12FBSDKCoreKit27ServerConfigurationProviderCMn Referenced from: <5CC4DAB0-BD6F-35BA-9A53-71CD55B7A620> /private/var/containers/Bundle/Application/572BCAA6-BFB0-49DB-AF71-3845EC656C09/Runner.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit Expected in: <0D43A9F9-2A23-386C-9568-E0D28099B3D5> /private/var/containers/Bundle/Application/572BCAA6-BFB0-49DB-AF71-3845EC656C09/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit * thread #1, stop reason = signal SIGABRT frame #0: 0x00000001e2f74ce0 dyld`__abort_with_payload + 8 dyld`: -> 0x1e2f74ce0 <+8>: b.lo 0x1e2f74cfc ; <+36> 0x1e2f74ce4 <+12>: stp x29, x30, [sp, #-0x10]! 0x1e2f74ce8 <+16>: mov x29, sp 0x1e2f74cec <+20>: bl 0x1e2f18de4 ; cerror_nocancel Target 0: (Runner) stopped. Error launching application on Tommy’s iPhone.
using :
flutter_facebook_auth: git: url: https://github.com/darwin-morocho/flutter-facebook-auth.git path: facebook_auth/
Is this happening in a real device or using a simulator?
A real device, an iPhone 8+ but also on my iPhone XS max, both under iOS 16+
As i said in the other issue, it works fine using flutter_facebook_auth: ^4.x.x
:(
(lldb) dyld[17694]: Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
I am also experiencing a similar issue. The same problem occurs on both the simulator and the real machine.
@Tom3652 @tagby-haedongJeon have you tried with this example https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/examples/with_provider ?
Also can you share the access to one of your projects to try to reproduce the error. I have tried with my real device and simulator without success?
Yes i have actually made this issue using your example code but then i have tried the steps you told me on my real project Unfortunately i can't give you access to my project, but i will with an empty project later if needed
I was able to workaround this after seeing this: Add FBSDKCoreKit.xcframework & FBSDKCoreKit_Basics.xcframework to Runner -> Target -> General -> Frameworks, Libraries, and Embedded Content, see screenshot: After adding those two the app builds fine.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
The same issue here
Workaround: use version 4.x.x (exhausted all other solutions, and this is the only solution worked on my manchine)
Same issue for me. Struggling for hours..
Same issue for me. Struggling for hours..
check https://github.com/oddbit/flutter_facebook_app_events/issues/268#issuecomment-1310410573
Thanks for the update @liorboyango it's working by only adding : FBSDKCoreKit.xcframework
in my case, but i had to remove all my pods first from the Cocoapods cache and re download them.
Thanks for the update @liorboyango it's working by only adding :
FBSDKCoreKit.xcframework
in my case, but i had to remove all my pods first from the Cocoapods cache and re download them.
Thank you. I added it manually at runner project by choosing target runner.Frameworks, libraries part
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD 1 Library missing Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
The same issue here
Workaround: use version 4.x.x (exhausted all other solutions, and this is the only solution worked on my manchine)
I also solve this problem with this solution!
What version are you using?
flutter_facebook_auth: 5.0.1
What OS and version are you using to local deploy your application?
MacOS 13.0
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
My iOS app can't run.
I have run the example project as requested to check, even if the given client Token et App ID and it crashes the same way.
Expected Behavior
The app should run normally as on flutter_facebook_auth: 4.4.3
To Reproduce
Run the example project : https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/facebook_auth/example on an iOS 16.1 device.
Relevant log output
With the example project :
Info.plist (iOS)
Podfile (iOS)
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response