can not update app with VPN ON

My app provides VPN feature with packet tunnel provider. When I turn VPN ON, and app have new versions on app store, I can not update it. I can update the app only when I turn VPN OFF. When this problem happens, from the update progress bar, I can see it is downloading, but will stop at nearly complete.

Is it a limitation?

Answered by Cougnes in 280054022

The behavior I observe is the following: the update is successfully downloaded, but only installed once the extension is no longer active. Fortunately, this also happens after coming back from sleep. As a result, apps will eventually upgrade itself, albeit not on the very moment where a user hits the upgrade button in the app store. I would not call this a bug per se.

This issue has cropped up before (see this thread). The high-level summary is:

  • Updating a VPN app should work even if the VPN is on.

  • If it doesn’t work, that’s something we’d consider a bug.

  • Thus, you should file a bug about the problem you’re seeing. Please post your bug number, just for the record.

  • It would help if you enabled extra VPN logging, per the instructions on our Bug Reporting > Profiles and Logs page.

  • There’s no way you’re going to be able to work around a bug like this in your own code.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer

The behavior I observe is the following: the update is successfully downloaded, but only installed once the extension is no longer active. Fortunately, this also happens after coming back from sleep. As a result, apps will eventually upgrade itself, albeit not on the very moment where a user hits the upgrade button in the app store. I would not call this a bug per se.

can not update app with VPN ON
 
 
Q