Failed to register for BoringSSL log debug updates

15,225

Solution 1

Open the Xcode Scheme editor and add a new environment variable OS_ACTIVITY_MODE and set to disable.

enter image description here

Solution 2

This approach seems to stop all NSLog logging, which is a problem. For a more nuanced approach that builds on the accepted answer, above, but does not eliminate all NSLog logging, see the answer by cduhn at Hide strange unwanted Xcode 8 logs.

Share:
15,225
uerceg
Author by

uerceg

Updated on June 14, 2022

Comments

  • uerceg
    uerceg about 2 years

    When debugging app in Xcode 9 beta while it's running on iPhone with iOS 11 beta installed, I started to notice following messages when performing networking calls:

    [] network_config_register_boringssl_log_debug_updates Failed to register for BoringSSL log debug updates
    [BoringSSL] Function boringssl_context_get_peer_npn_data: line 1212 Peer's advertised NPN data is NULL or empty
    

    Any idea what is causing this?