2
私は統合テスト(ユニットテストバンドル)からhttp/https通信を使用しています。しかし、私はUIテストバンドルで同じコードを使用する場合、私は次のエラーのトレース持っている:UIテストバンドルのWebトラフィックを有効にするには? (XCTest、XCode - DNSServiceCreateConnection failed)
Request Content:
XCTRunner[6389:1020209] dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
XCTRunner[6389:1020209] dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
XCTRunner[6389:1020209] dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
XCTRunner[6389:1020209] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:8 Err:-1 Errno:1 Operation not permitted
XCTRunner[6389:1020209] [] nw_resolver_create_dns_service_on_queue DNSServiceCreateConnection failed: ServiceNotRunning(-65563)
XCTRunner[6389:1020209] [] __nw_connection_get_connected_socket_block_invoke 2 Connection has no connected handler
XCTRunner[6389:1020207] PAC stream failed with
XCTRunner[6389:1020208] [] nw_proxy_resolver_create_parsed_array PAC evaluation error: kCFErrorDomainCFNetwork: -72000
XCTRunner[6389:1020208] dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
XCTRunner[6389:1020208] dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
XCTRunner[6389:1020208] dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
XCTRunner[6389:1020208] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:7 Err:-1 Errno:1 Operation not permitted
XCTRunner[6389:1020208] [] nw_resolver_create_dns_service_on_queue DNSServiceCreateConnection failed: ServiceNotRunning(-65563)