For anyone with the same problem, I had to explicitly set the Privacy - Local Network Usage Description key in the Info section:
https://developer.apple.com/videos/play/wwdc2020/10110
I assumed without setting this property a default splash screen would appear (which it did). However, even accepting this default dialogue did not seem to enable local network discovery.
Post
Replies
Boosts
Views
Activity
Thank you for the quick answer!
I added the missing code in the library and have a minimal example for iOS or macOS:
https://github.com/pultar/Melatonin
The code works in the simulator and can wake up a PC but not on device (neither my phone or my Mac). I call the library function here:
https://github.com/pultar/Melatonin/blob/93ca9f7e38eb16e88df8d2e300f3041b50132172/Melatonin/View/ComputerView.swift#L57