iOS and local network privacy
Since iOS & tvOS 14, the system requires a specific permission to allow the nanoCDN discovery used by SmartLib.
Make your declaration
Declare the nanoCDN service name “_nanocdn._tcp” in your app’s Info.plist.
Provide context
After declaring this service, you also need to provide a reason string, which provides context to someone when your app attempts to access a local network. Make sure this text clearly explains what your app is doing with the information it discovers from the local network and how receiving this data enables a necessary experience in your app.
Resources
"Protect privacy during device discovery"
https://developer.apple.com/news/?id=0oi77447
"Support local network privacy in your app"
https://developer.apple.com/videos/play/wwdc2020/10110/