As robotconscience has written, the additions to the Info.plist are apparently necessary as stated in the documentation.
However, the documentation - https://developer.apple.com/documentation/bundleresources/information_property_list/nsbonjourservices?language=objc also states the format of the Bonjour service array entries and they need to be including the underscores, for example "\_zonfig-cfg.\_tcp" and "\_zconfig-cfg.\_upd" as they are used with bonjour. It only works for me in this format. I also had to delete and reinstall the app on device before it would ask me for the new local networking permission.