My current goal is to be able to intercept DNS traffic, and log it. To do so I've added a network extension and enabled "DNS Proxy" and "DNS Settings". The NEDNSProxyProvider is currently just exactly what's created for you upon adding it, then I'm trying to add it like so
self.manager.localizedDescription = "Example"
let proxy = NEDNSProxyProviderProtocol()
proxy.providerBundleIdentifier = "software.eskimo.example.Proxy" // the bundle of the proxy extension i added
self.manager.providerProtocol = proxy
self.manager.isEnabled = true
When launching the app I get a nice popup that has me add the configuration but when I go to enable it it shows as "Invalid" next to it.