facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.8k stars 3.56k forks source link

Thread stuck when FBSDKLoggingBehaviorGraphAPIDebugInfo level log be set open #2423

Open ExponentialChiller opened 6 months ago

ExponentialChiller commented 6 months ago

Checklist before submitting a bug report

Xcode version

15.3,14.2

Facebook iOS SDK version

17.0.1

Dependency Manager

Prebuilt Binaries

SDK Framework

Core

Goals

i want to show the debuginfo of fb sdk in log,the code is as follows

[[FBSDKSettings sharedSettings]enableLoggingBehavior:FBSDKLoggingBehaviorGraphAPIDebugInfo];

Expected results

i want to see debug info in log

Actual results

It works fine in facebook sdk v15.0.0, while the thread it works in is stuck,like this

image

Steps to reproduce

Just to call the api like the code below

Code samples & details

// INSERT YOUR CODE HERE
[[FBSDKSettings sharedSettings]enableLoggingBehavior:FBSDKLoggingBehaviorGraphAPIDebugInfo];