iOS Packet Tunnel Provider saveToPreferencesWithCompletionHandler permission denied

I have a Packet Tunnel Provider that works ok in development, but fails calling NETunnelProviderManager.saveToPreferencesWithCompletionHandler with "permission denied" upon being opened by App Review. If it means anything, I just switched my account from personal to company/organization so I could distribute a VPN app, and the app is signed with an Apple Distribution cert created for the company. The provisioning profiles for the container app and the extension are both signed with this cert and both have Network Extensions and Personal VPN entitlements.

What is missing that is preventing the distribution to the App Store from working properly?

I should add that I have a pending question to App Review asking them if they allowed the app to save a VPN config since iOS asks for permission to do this when the app first does this after being installed. Denying this permission results in a "permission denied" error.

Does this reproduce with the TestFlight version?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for responding Eskimo, but it turns out that they must not have allowed the app to save VPN configs. Without answering my question, they put the app back into review and approved it...so I guess they did answer it.

Anyway, thanks again for responding.

iOS Packet Tunnel Provider saveToPreferencesWithCompletionHandler permission denied
 
 
Q