Xcode 后台多余打印去除

1.WKWebView打印:

[Process] kill() returned unexpected error 1

2.TCP和report打印:

 [] tcp_input [C7.1:3] flags=[R] seq=2615722565, ack=3014557822, win=0 state=CLOSED rcv_nxt=2615722565, snd_una=2676935587

[] nw_read_request_report [C2] Receive failed with error "Connection reset by peer"

解决方法:
Xcode -> Product -> Scheme -> Edit Scheme -> Run -> Arguments -> Environment Variables -> 添加环境变量即其值:OS_ACTIVITY_MODE = disable

image.png

你可能感兴趣的:(Xcode 后台多余打印去除)