Привет, ребята. Я пытаюсь сделать RESTful-вызов, когда нажимается элемент панели инструментов.затем он не может подключиться к Интернету со следующей ошибкой в журнале.
[default] Unable to load Info.plist exceptions (eGPUOverrides)
The extension's toolbar item was clicked
dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:5 Err:-1 Errno:1 Operation not permitted
Error: Optional(Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={NSUnderlyingError=0x600003e3c4b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=-72000, _kCFStreamErrorDomainKey=10}}, NSErrorFailingURLStringKey=https://some_valid_url, NSErrorFailingURLKey=https://some_valid_url, _kCFStreamErrorDomainKey=10, _kCFStreamErrorCodeKey=-72000, NSLocalizedDescription=A server with the specified hostname could not be found.})
[] nw_resolver_create_dns_service_locked [C1] DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563)
TIC TCP Conn Failed [1:0x60000051d200]: 10:-72000 Err(-65563)
Task <D9356F42-2832-426A-9FE6-C37C0A22F954>.<1> HTTP load failed (error code: -1003 [10:-72000])
Task <D9356F42-2832-426A-9FE6-C37C0A22F954>.<1> finished with error - code: -1003
Program ended with exit code: 0
Итак, я попытался:
Моя конфигурация:
- Xcode: версия 10.1 (10B61)
- Mac: Мохаве 10.14.2 (18C54)
- Safari: 12.0.2 (14606.3.4)
Любые идеи