I uploaded iOS app store with web content filter. When I tried to block the sites, it didn't work. After debug I got the error.
<Error>: YourApp trying to create a content filter configuration through an app. Creating a content filter configuration is only allowed through profile in production version of YourApp.
<Error>: Failed to save configuration com.DemoiOS: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
<Error>: -[NEFilterManager saveToPreferencesWithCompletionHandler:]_block_invoke_3: failed to save the new configuration: Error Domain=NEFilterErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
It works fine in dev environment. I searched other threads here, didn't find proper answer. How do I resolve this error? It would be great help you can point me out to solution. I want to make sure that if user downloads app from the store, he should be able to block the selected sites.