外部の画像を読み込み表示するプログラムで2行目の実行時にエラーが出ます。
※XcodeのバージョンはVersion 8.2.1になります。
※画像の表示は問題なくされているようです。
let url = URL(string: "***.jpg")!
let imageData = try? Data(contentsOf: url)
let img = UIImage(data:imageData!)
let imgView:UIImageView = UIImageView(image:img)
imgView.frame = CGRect(x:0, y:0, width:300, height:300)
self.view.addSubview(imgView);
エラーは以下のような内容ですが、意味がわからず、無視して良いのかもわかりません。
どなたか原因や意味わかりますでしょうか?
2017-01-24 16:50:51.273542 loadMovie2[2196:135371] [] nw_host_stats_add_src recv too small, received 24, expected 28
2017-01-24 16:50:51.276346 loadMovie2[2196:135371] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed
2017-01-24 16:50:51.276600 loadMovie2[2196:135371] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"
2017-01-24 16:50:51.277360 loadMovie2[2196:135371] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:
[x86_64] libnetcore-856.30.16
0 libsystem_network.dylib 0x000000010fc4b666 __nw_create_backtrace_string + 123
1 libnetwork.dylib 0x000000010ff29006 nw_socket_add_input_handler + 3164
2 libnetwork.dylib 0x000000010ff06555 nw_endpoint_flow_attach_protocols + 3768
3 libnetwork.dylib 0x000000010ff05572 nw_endpoint_flow_setup_socket + 563
4 libnetwork.dylib 0x000000010ff04298 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612
5 libnetwork.dylib 0x000000010ff1fae1 nw_endpoint_handler_path_change + 1261
6 libnetwork.dylib 0x000000010ff1f510 nw_endpoint_handler_start + 570
7 libnetwork.dylib 0x000000010ff371f9 nw_endpoint_resolver_start_next_child + 2240
8 libdispatch.dylib 0x000000010f9c8978 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x000000010f9f20cd _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000010f9cfe17 _dispatch_queue_serial_drain + 236
11 libdispatch.dylib 0x000000010f9d0b4b _dispatch_queue_invoke + 1073
12 libdispatch.dylib 0x000000010f9d3385 _dispatch_root_queue_drain + 720
13 libdispatch.dylib 0x000000010f9d3059 _dispatch_worker_thread3 + 123
14 libsystem_pthread.dylib 0x000000010fd9b4de _pthread_wqthread + 1129
15 libsystem_pthread.dylib 0x000000010fd99341 start_wqthread + 13