Hi guys,
I have a firewall project, where I used SimpleFirewall as a template. I created the project from scratch and the firewall works, but during configuration of network filter, macOS shows popup
"(null) Would Like to Filter Network Content"
In SimpleFirewallSample this message shows
"SimpleFirewall Would Like to Filter Network Content"
Obviously name of the app is missing. I've done the following:
* checked entitlements - setup correctly
* nothing missing in Info.plist (Bundle Name, Bundle Dispaly Name, etc), filterManager.localizeDescription is set.
* I went through dozens if not hundreds of build settings
* I changed window title in the MainMenu.xib to precisely match App bundle name
* I tried to set up filter configuration from App bundle instead of common framework I use (I thought perhaps NEFilterProviderConfiguration constructor or saveToPreferences() function perhaps checks which bundle calls it and then system checks code signing).
* Tried localization for Base and EN
* I verified that Filter config in System Preferences in Network uses name of our app and I checked that if I change filterManager.localizedDescription, it correctly changes in those system settings.
* you name it - I have done it
The only clue I found in sysem log is this message
default | 15:22:56.895864+0200 | MyApp | Saving configuration MyApp with existing signature (null) |
The only difference is that I implemented most of the firewall functionality in a framework, so that it could be reused and app bundle links to this framework. Currently I link against this framework from app bundle and system extension using "Embed & Sign". I cannot use other options, because in that case app cannot communicate with extension. Anyway I created clone of Apple's SimpleFirewall and modified it to use common framework with precise settings as in our project and that works correctly.
Nothing appears to be working and I cannot get rid of "(nul)" in the popup message in our project.
Does anybody know how from which source macOS popup loads this value?
Thanks.
Robert