Post

Replies

Boosts

Views

Activity

Reply to NWConnection how to force ipv4 ?
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!
May ’22
Reply to WatchOS Network Framework connecting to Bonjour NWBrowser not working
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
May ’22
Reply to Apple Watch not showing in XCode
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.
May ’24