nw_host_stats_add_src recv too small, received 24, expected 28

后端 未结 4 1479
北恋
北恋 2020-12-09 01:28
nw_host_stats_add_src recv too small, received 24, expected 28

So I\'m getting this appear in the console and I\'m not sure whether it is an issue

4条回答
  •  无人及你
    2020-12-09 02:07

    I found this answer in a video on Reddit located here: https://www.reddit.com/r/ios/comments/5p0fvy/xcode_nw_host_stats_add_src_recv_too_small/

    This warning comes from XCode and can be disabled by adding an Environmental variable to the Scheme's Run section. The Environmental name is OS_ACTIVITY_MODE and the value is "disable".

    This appears to suppress all of the "nw_" warning messages. Note that this just suppresses the warnings. I'm not sure if the warnings are significant or not or whether this indicates that there are "real" underlying problems that should be fixed.

    How to edit a Scheme's Run Environmental Variables section in XCode

    Adding the OS_ACTIVITY_MODE value of "disable"

提交回复
热议问题