FBSDK Login Error Code: 308 in Objective-C
One solution, at least for me, is to not run on device via the Xcode debugger. If I run the app on device outside the debugger the Facebook login works fine. If I run the app in the sim via the debugger the Facebook login works fine.
Only if I run the app on device via the Xcode debugger do I get the com.facebook.sdk.login error 308 every time.
Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)
From the screenshot, it's clear that your Info.plist is missing a CFBundleVersion ("Bundle Version") key. If that key is missing, it can cause this problem.
Xamarin facebook sdk for iOS causing app crash
I've found the solution to this issue. The issue is with info.plist. With sdk 4.6.0 and above the requirements in info.plist LSApplicationQueriesSchemes tag is only:
LSApplicationQueriesSchemes
fbapi
fb-messenger-api
fbauth2
fbshareextension
I was adding the requirements as per older version of sdk and that was causing the issue. I was following xamarin's official recipe for this which still has older code. Hope it helps someone who runs into similar issue.
Facebook Login implementation failing for React Native App
Open your project in xcode and create an empty .swift file in your project
click next and your project will build
Related Topics
Finish All Asynchronous Requests Before Loading Data
Shift Elements in Array by Index
What's the Best Way to Handle Multiple Skscenes
Swift Editor Placeholder in Source File
How to Trap on Uiviewalertforunsatisfiableconstraints
Stop Uiwebview from "Bouncing" Vertically
Core Data Background Context Best Practice
Changing Navigation Bar Color in Swift
How to Dismiss Viewcontroller in Swift
Ios: What's the Fastest, Most Performant Way to Make a Screenshot Programmatically
In iPhone App How to Detect the Screen Resolution of the Device
How to Change Color of Single Word in Uitextview and Uitextfield
Retrieve Custom Prototype Cell Height from Storyboard
How to Implement the Uitapgesturerecognizer into My Application
Failed to Obtain a Cell from Its Datasource
Restrict to Certain iOS Target Devices for App Store Submission