I set the XCode environment variable CFNETWORK_DIAGNOSTICS to 3,
according to https://developer.apple.com/documentation/network/debugging_https_problems_with_cfnetwork_diagnostic_logging
and then running the app, I don't see any logs in Xcode debug console.
Then, I try to put the code
setenv("CFNETWORK_DIAGNOSTICS", "3", 1);
at the start of my main function, and then running the app, I still don't see any logs in Xcode debug console.
When I switch the simulator to iOS 12, Xcode debug console output many logs likes: "CFNetwork Diagnostics ....".
My Xcode version is Version 11.3.1 (11C504).
Is it CFNetwork Diagnostic still available in iOS13?