1.错误提示:
2016-11-23 10:17:17.119965 webView[953:310265] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-11-23 10:17:17.120197 webView[953:310265] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-11-23 10:17:17.120659 webView[953:310265] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-11-23 10:17:17.121273 webView[953:310265] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-11-23 10:17:17.123235 webView[953:310248] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-11-23 10:17:17.141782 webView[953:310248] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed
2016-11-23 10:17:17.141999 webView[953:310248] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"
2016-11-23 10:17:17.142603 webView[953:310248] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:
[x86_64] libnetcore-856.20.4
0 libsystem_network.dylib 0x000000010aa4c682 __nw_create_backtrace_string + 123
1 libnetwork.dylib 0x000000010ad29932 nw_socket_add_input_handler + 3100
2 libnetwork.dylib 0x000000010ad074f4 nw_endpoint_flow_attach_protocols + 3768
3 libnetwork.dylib 0x000000010ad06511 nw_endpoint_flow_setup_socket + 563
4 libnetwork.dylib 0x000000010ad05270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612
5 libnetwork.dylib 0x000000010ad2044d nw_endpoint_handler_path_change + 1261
6 libnetwork.dylib 0x000000010ad1fe7c nw_endpoint_handler_start + 570
7 libnetwork.dylib 0x000000010ad37ae5 nw_endpoint_resolver_start_next_child + 2240
8 libdispatch.dylib 0x000000010a7c9980 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x000000010a7f30cd _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000010a7d0e6b _dispatch_queue_serial_drain + 236
11 libdispatch.dylib 0x000000010a7d1b9f _dispatch_queue_invoke + 1073
12 libdispatch.dylib 0x000000010a7d43b7 _dispatch_root_queue_drain + 720
13 libdispatch.dylib 0x000000010a7d408b _dispatch_worker_thread3 + 123
14 libsystem_pthread.dylib 0x000000010ab9c4de _pthread_wqthread + 1129
15 libsystem_pthread.dylib 0x000000010ab9a341 start_wqthread + 13
2.解决方法
添加如上变量