Hi,
When I try to use my DNS Proxy app from App Store with a supervised device, I have these errors :
My entitlements are :
Why it says 'permission denied'?
Thanks.
When I try to use my DNS Proxy app from App Store with a supervised device, I have these errors :
Code Block [NEDNSProxyManager saveToPreferencesWithCompletionHandler:]_block_invoke: failed to save the new configuration: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
Code Block nehelper myApplication trying to create a DNS proxy configuration through an app. Creating a DNS proxy configuration is only allowed through profile in production version of myApplication.
My entitlements are :
Code Block <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.networking.networkextension</key> <array> <string>dns-proxy</string> </array> <key>com.apple.security.application-groups</key> <array> <string>group.com.myApplication.app</string> </array> <key>keychain-access-groups</key> <array> <string>$(AppIdentifierPrefix)com.myApplication.app</string> </array> </dict> </plist>
Why it says 'permission denied'?
Thanks.
I found my problem, the solution is here.
When you create a DNS proxy, it :
It works like a charm.
When you create a DNS proxy, it :
Can only be deployed to supervised devices
Must be configured via a configuration profile
It works like a charm.