[Xcode8] Hide 'nw_connection_endpoint_report' log


When update the new xcode8 there are a lot of communication logs.

Such like this:

2016-09-26 18:22:20.458509 [13786:389216] [] nw_socket_handle_socket_event Socket received CONNECTED event
2016-09-26 18:22:20.458918[13786:389216] [] nw_socket_setup_notsent_lowat Set TCP_NOTSENT_LOWAT(16384)

At last I found out one solution:

Go to Product -> Schema -> Edit Schema -> Run

Add an environment variable
OS_ACTIVITY_MODE with value disable