I uploaded iOS app retailer with internet content material filter. Once I tried to dam the websites, it did not work. After debug I received the error.
<Error>: YourApp making an attempt to create a content material filter configuration by way of an app. Making a content material filter configuration is barely allowed by way of profile in manufacturing model of YourApp.
<Error>: Failed to save lots of configuration com.DemoiOS: Error Area=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
<Error>: -[NEFilterManager saveToPreferencesWithCompletionHandler:]_block_invoke_3: failed to save lots of the brand new configuration: Error Area=NEFilterErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
It really works wonderful in dev setting.
I need to guarantee that if person downloads app from the shop, he ought to have the ability to block the chosen websites.