nw_host_stats_add_src recv too small, received 24, expected 28

后端 未结 4 1480
北恋
北恋 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:20

    Cause: iOS 10 & Xcode 8. Also can be replicated by an odd inputField bug:

    Issue belongs to an InputField whom width is smaller than the inputs chars : 96px vs (4 * 28px) This leads to a 100% CPU and it is fixed when width is set to 128px

    Link to the above fix and reasoning

    Or just silence everything:

    • Press ⌘<
    • Edit simulator scheme by adding or setting the OS_ACTIVITY_MODE under Environment Variables in the Run Arguments to a value of disable.
    • Do the same for the device but remove the value for OS_ACTIVITY_MODE , leaving it empty. The logs will display for the device as they should.

提交回复
热议问题