Hi Eskimo,
Thanks for your example.
This works great on Simulator but on Real Device i always get only IPV6 address for the same code base and the same server.
Do you know what can be the reason ?
Btw: Instead of direct ip/port for connection i'm using a NWEndpoint that is created by a NWBrowser .bonjour instance and listening for browseResultsChangedHandler from where i get NWEndpoint .
Any idea why ?
Thanks!
Post
Replies
Boosts
Views
Activity
Thanks for answer eskimo !
I believe you’re bumping into the limitation discussed in Low-Level Networking on watchOS.
The issue that is if i do the connection to the server with ip and port directly everything works well.
connection?.currentPath?.remoteEndpoint has correct data.
Do you know if there is any new news of low-level networking on WatchOS or if there is any plan to fully support all network framework features for WatchOS ?
Thanks,
Florin
Angry Software
Thanks for your answers Eskimo.
I will keep digging in this area, this is quite important for my Apps and maybe ask this at WWDC 22 if will be sessions on Networking area.
I will post here if get more info that might help the community in this matter.
Thanks,
Florin
Angry Software
Hey,
I had the same issue and i found out that you have to activate Info and Debug messages in Console App in the menu.
Action -> Include Info Messages
Action -> Include Debug Messages
This fixed the issue for me .
Thanks
Same Issue here.
Tried everything,
unparing, restarting, etc ...
Developer mode is On on both iPhone and Watch.
The watch asked me if i wanna give my Mac Mini Access to it, tapped yes.
Everything is setup as before but the watch does not appear under devices as paired device to my iPhone as well in xCode as run destination.
I'm developing on watch since 2 years ago and something is not working in Xcode 15 as before.
The strange thing is that the watch appears twice in console app but when i hit "Start Streaming" no logs appears.
xCode Version 15.4 the issue is this here.