Can't update VPN app when includeAllNetworks is set to true

If the includeAllNetworks flag to true, we cannot update our app via Xcode, TestFlight or the AppStore. In the AppStore and TestFlight cases, it seems that the packet tunnel process is stopped before the new app is downloaded - once the packet tunnel process is stopped, it can’t be started again via Settings/VPN profiles, nor can it be started via the app.

Answered by DTS Engineer in 846705022
we have submitted feedback … FB16482585

Good. That’s the correct path forward here.

For context, problems like this crop up from time-to-time on iOS. Coordinating the work required to tear down the VPN, install the new API, and then bring it back up is tricky. If this fails, there’s really not much you can do about it at a code level. This is all managed by the system.

Share and Enjoy

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

I forgot to mention that we have submitted feedback through Feedback Assistant with the id FB16482585.

I should also point out that this talk from the latest WWDC mentions includeAllNetworks, and it seems strange that the behaviour we're seeing is intended.

we have submitted feedback … FB16482585

Good. That’s the correct path forward here.

For context, problems like this crop up from time-to-time on iOS. Coordinating the work required to tear down the VPN, install the new API, and then bring it back up is tricky. If this fails, there’s really not much you can do about it at a code level. This is all managed by the system.

Share and Enjoy

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

Can't update VPN app when includeAllNetworks is set to true
 
 
Q