I'm having an issue where the network connection my app creates is behaving differently between debug and when installed via test flight. In debug everything behaves perfectly, but when uploading to App Store connect and installing via test flight I get the following in the console output of my test server app:
[boringssl] boringssl_session_set_peer_verification_state_from_session(324) [C68:1][0x7fa5e9737920] Unable to extract cached certificates from the SSL_SESSION object
The data sent in appears to have arrived correctly, but the client then enters an error state.
How is the App Store version installed through test flight behaving differently to the exact same code run on a device by plugging into xcode and hitting run? This is making it impossible to properly debug the issue as I can't replicate it on a device when debugging.