Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
NEFilterDataProvider debugging issue
I've tried both ways to configure my provider (via NEFilterManager or setting up a configuration profile on a supervised device), but it was not successful. I've spent much time creating profiles (related to Reference), and that's works well with BuiltIn profiles but not with the Plugin ones.When I set up development settings, I tried to do that like so:let config = NEFilterProviderConfiguration()
config.username = "User"
config.organization = "Atomic"
config.filterBrowsers = true
config.filterSockets = false
config.serverAddress = "testing.t-atomic.com"
NEFilterManager.shared().providerConfiguration = config
NEFilterManager.shared().isEnabled = true
NEFilterManager.shared().saveToPreferences { error in
if let err = error {
print("Failed to save the filter configuration: \(err)")
return
}
}Now I have a goal just to make sure that extensions are started and I can capture all browser traffic.Now I'm gettingError Domain=NEFilterErrorDomain Code=3 "(null)"when trying to save manager instance.I successfully ran it once (I was asked to allow the use of the filter) before the error occurred, but my extensions did not start then.