iOS 10 取消日志输出[] nw_host_stats_add_src recv too small, received 24, expected 28

iOS 10 取消日志输出[] nw_host_stats_add_src recv too small, received 24, expected 28_第1张图片
ED2CA6DA-A8BE-4E91-A1D2-38D73FB85EC5.png

Xcode8需要设置的!
屏蔽Xcode 8多余日志输出
(1)【product】-【scheme】-【Edit Scheme】
(2)【Run】-【Argument】-【Environment Variable】添加keyValue:OS_ACTIVITY_MODE disable
可以停止输出打印此日志


iOS 10 取消日志输出[] nw_host_stats_add_src recv too small, received 24, expected 28_第2张图片
iOS 10 取消日志输出[] nw_host_stats_add_src recv too small, received 24, expected 28_第3张图片

支付宝的官方的demo中就会不停的打印该日志,可以参考哦~

你可能感兴趣的