How to fix this question with these IDE's log?

When i run my code in the simulator.These information will printed in the console.but my app can correctly excuted


2016-11-03 21:46:52.098655 BoWuGuan[3963:175194] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed

2016-11-03 21:46:52.099119 BoWuGuan[3963:175194] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"

2016-11-03 21:46:52.100177 BoWuGuan[3963:175194] [] 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 0x000000010df01682 __nw_create_backtrace_string + 123

1 libnetwork.dylib 0x000000010ed50932 nw_socket_add_input_handler + 3100

2 libnetwork.dylib 0x000000010ed2e4f4 nw_endpoint_flow_attach_protocols + 3768

3 libnetwork.dylib 0x000000010ed2d511 nw_endpoint_flow_setup_socket + 563

4 libnetwork.dylib 0x000000010ed2c270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612

5 libnetwork.dylib 0x000000010ed4744d nw_endpoint_handler_path_change + 1261

6 libnetwork.dylib 0x000000010ed46e7c nw_endpoint_handler_start + 570

7 libdispatch.dylib 0x000000010dc7e980 _dispatch_call_block_and_release + 12

8 libdispatch.dylib 0x000000010dca80cd _dispatch_client_callout + 8

9 libdispatch.dylib 0x000000010dc85e6b _dispatch_queue_serial_drain + 236

10 libdispatch.dylib 0x000000010dc86b9f _dispatch_queue_invoke + 1073

11 libdispatch.dylib 0x000000010dc893b7 _dispatch_root_queue_drain + 720

12 libdispatch.dylib 0x000000010dc8908b _dispatch_worker_thread3 + 123

13 libsystem_pthread.dylib 0x000000010e1344de _pthread_wqthread + 1129

14 libsystem_pthread.dylib 0x000000010e132341 start_wqthread + 13

2016-11-03 21:46:52.164092 BoWuGuan[3963:175200] [] nw_host_stats_add_src recv too small, received 24, expected 28

2016-11-03 21:46:52.168237 BoWuGuan[3963:175200] [] __nwlog_err_simulate_crash simulate crash already simulated "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"

2016-11-03 21:46:52.169056 BoWuGuan[3963:175200] [] 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 0x000000010df01682 __nw_create_backtrace_string + 123

1 libnetwork.dylib 0x000000010ed50932 nw_socket_add_input_handler + 3100

2 libnetwork.dylib 0x000000010ed2e4f4 nw_endpoint_flow_attach_protocols + 3768

3 libnetwork.dylib 0x000000010ed2d511 nw_endpoint_flow_setup_socket + 563

4 libnetwork.dylib 0x000000010ed2c270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612

5 libnetwork.dylib 0x000000010ed4744d nw_endpoint_handler_path_change + 1261

6 libnetwork.dylib 0x000000010ed46e7c nw_endpoint_handler_start + 570

7 libnetwork.dylib 0x000000010ed5eae5 nw_endpoint_resolver_start_next_child + 2240

8 libdispatch.dylib 0x000000010dc7e980 _dispatch_call_block_and_release + 12

9 libdispatch.dylib 0x000000010dca80cd _dispatch_client_callout + 8

10 libdispatch.dylib 0x000000010dc85e6b _dispatch_queue_serial_drain + 236

11 libdispatch.dylib 0x000000010dc86b9f _dispatch_queue_invoke + 1073

12 libdispatch.dylib 0x000000010dc893b7 _dispatch_root_queue_drain + 720

13 libdispatch.dylib 0x000000010dc8908b _dispatch_worker_thread3 + 123

14 libsystem_pthread.dylib 0x000000010e1344de _pthread_wqthread + 1129

15 libsystem_pthread.dylib 0x000000010e132341 start_wqthread + 13

Hi Feng,

I have the same issue.

I'm using XCode Version 8.1 (8B62) and Realm 2.0.3.

My app runs ok in simulator but i get all these console messages.


When I comment all the Realm lines of code all the messagesdisappear.

If I disconver anything I let you know

How to fix this question with these IDE's log?
 
 
Q