Hello
We found a problem with Network Extension VPN cannot be turned on after iCloud restore. If we set up a new iPhone with restore from iCloud, the VPN cannot be turned on after the restore from the iCloud process completes.
It seems that iOS will try to turn on the VPN due to On-Demand rules, however, it will always fail because the corresponding VPN app has not been downloaded finish. There is no VPN instance that can be launched but iOS always tries to turn on due to On-Demand rules. At that moment, the network stuck because iOS continuous retry to turn on VPN.
My question is,
How can I exclude the VPN profile from iCloud Backup from our VPN app code level?
Or iOS can check the VPN App instance exists or not before enabling the VPN profile?
Thanks