You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an existing Facebook developer id that is causing this issue. We are not sure if this will happen for new developers who are going to integrate Facebook in their app. We are using Objective-c file for App Delegate.
Code samples & details
// INSERT YOUR CODE HEREvarexample="Example code"
The text was updated successfully, but these errors were encountered:
Checklist before submitting a bug report
Xcode version
14.2
Facebook iOS SDK version
16.1.3
Dependency Manager
CocoaPods
SDK Framework
Login
Goals
I am trying to update my apps and after I release to test flight it is crashing. Debugging the crash log and this is what I have found
Also find screenshot for reference
Video issue
Untitled.mov
Expected results
It should not crash when initialising Facebook SDK. If I remove below line from AppDelegate.m, it works fine.
[[FBSDKApplicationDelegate sharedInstance] application:application
didFinishLaunchingWithOptions:launchOptions];
But then, I have to remove Facebook login from my app.
Actual results
Currently app is crashing with below crash log, this crash is happening at initial launch as shown in video.
FBSDKCoreKit_Basics
+[FBSDKBasicUtility _convertObjectToJSONObject:invalidObjectHandler:stop:] FBSDKBasicUtility.m:128
FBSDKCoreKit_Basics
+[FBSDKBasicUtility _convertObjectToJSONObject:invalidObjectHandler:stop:] FBSDKBasicUtility.m:120
FBSDKCoreKit_Basics
+[FBSDKBasicUtility JSONStringForObject:error:invalidObjectHandler:] FBSDKBasicUtility.m:59
FBSDKCoreKit
-[FBSDKAppEventsUtility activityParametersDictionaryForEvent:shouldAccessAdvertisingID:userID:userData:] FBSDKAppEventsUtility.m:127
FBSDKCoreKit
-[FBSDKAppEvents publishInstall] FBSDKAppEvents.m:866
FBSDKCoreKit
-[FBSDKAppEvents fetchServerConfiguration:] FBSDKAppEvents.m:1023
FBSDKCoreKit
-[FBSDKServerConfigurationManager _didProcessConfigurationFromNetwork:appID:error:] FBSDKServerConfigurationManager.m:387
FBSDKCoreKit
-[FBSDKServerConfigurationManager processLoadRequestResponse:error:appID:] FBSDKServerConfigurationManager.m:281
FBSDKCoreKit
-[FBSDKGraphRequestPiggybackManager addServerConfigurationPiggyback:] FBSDKGraphRequestPiggybackManager.m:178
FBSDKCoreKit
-[FBSDKGraphRequestMetadata invokeCompletionHandlerForConnection:withResults:error:] FBSDKGraphRequestMetadata.m:32
FBSDKCoreKit
-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] FBSDKGraphRequestConnection.m:998
FBSDKCoreKit
-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] FBSDKGraphRequestConnection.m:1032
FBSDKCoreKit
-[FBSDKGraphRequestConnection _completeWithResults:networkError:] FBSDKGraphRequestConnection.m:981
CoreFoundation
NSARRAY_IS_CALLING_OUT_TO_A_BLOCK
Steps to reproduce
We have an existing Facebook developer id that is causing this issue. We are not sure if this will happen for new developers who are going to integrate Facebook in their app. We are using Objective-c file for App Delegate.
Code samples & details
The text was updated successfully, but these errors were encountered: