Hello.
My Watch App call web service on https protocol in Internet.
I have always nw_resolver_create_dns_service_locked error:
WatchKit Extension[326:81502] dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
WatchKit Extension[326:81502] dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
WatchKit Extension[326:81502] dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
WatchKit Extension[326:81502] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:8 Err:-1 Errno:1 Operation not permitted
WatchKit Extension[326:81502] [] nw_resolver_create_dns_service_locked DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563)
WatchKit Extension[326:81502] TIC TCP Conn Failed [1:0x1669aaa0]: 10:-72000 Err(-65563)
WatchKit Extension[326:81492] Task . HTTP load failed (error code: -1009 [10:-72000])
WatchKit Extension[326:81492] NSURLConnection finished with error - code -1009
I added to file
com.apple.security.network.client
but I have new error
ApplicationVerificationFailed: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.OPGbCB/extracted/Payload/isafereader.app : 0xe8008016 (The executable was signed with invalid entitlements.)
error MT1006: Could not install the application '/Users/dev/Projects/qaz/qaz/bin/iPhone/Release/qaz.app' on the device 'iPhone (Daniel)': Your code signing/provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016).
I checked provisioning options on developer.apple.com.
I have all permissions checked.
What am I doing wrong?