Sequoia - new security entitlement(s)

Starting with macOS 15 Apple requires a new entitlement for Local Network usage - in every app that allows the user to enter an IP, that use Bonjour or unicast/multicast connections.

NSLocalNetworkUsageDescription

“What’s new in privacy” WWDC 2024 Video,
https://developer.apple.com/videos/play/wwdc2024/10123?time=1097

“Local Network Privacy FAQ”, in particular, the first few FAQs therein.
https://developer.apple.com/forums/thread/663858

Anyone noticed other changes in Sequoia affecting our apps?

To satisfy this requirement, will it suffice to add a couple of lines into my info.plist, along these lines:

<key> NSLocalNetworkUsageDescription</key>
<string>You will be allowing myapp to access local network services</string>

or similar ?

Yes, that will be (hopefully) enough.

Its a little bit annoying to have another dialog at startup, asking for local network access. My already installed apps have to be restarted, because they try to connect at startup and that is blocked by this dialog.

How does one avoid the dad-blasted startup dialogues? After all, the answer to all of them is going to be yes, every time. And if the nature of the app is to be a server, then what?

You’re supposed to describe why you need that permission, but unfortunately the system just checks for the existence of any message.