Monday, June 29, 2026
HomeiOS DevelopmentiOS swift vpn connecting instantly disconnected

iOS swift vpn connecting instantly disconnected

[ad_1]

I’ve used three strategies however all get the identical outcome

1.solely use Community Extension to attach the VPN

2.use OpenAdapter Demo
https://github.com/ss-abramchuk/OpenVPNAdapter

3.use tunnelKit Demo
https://github.com/passepartoutvpn/tunnelkit/points

and I had verify my configuration many occasions ,the tunnel bundle id is right

I simply did a number of steps

clone the venture
2.change the App Teams and Keychain Sharing group
App IDs and Tunnel extension id and use my provisioning profile (demo-iOS,Tunnel-iOS,WireGuardTunnel-iOS)
3.modify the Configuration
4.run the venture
5.set the IP deal with and username password
6.press join button

and the console log all the time print

17:19:27 DEBUG NetworkExtensionVPN.notifyReinstall():264 – VPN did reinstall (com.bw.enterprise.ap02-dev.Tunnel): isEnabled=true
VPNStatusDidChange: connecting
17:19:27 DEBUG NetworkExtensionVPN.notifyStatus():278 – VPN standing did change (com.bw.enterprise.ap02-dev.Tunnel): isEnabled=true, standing=2
VPNStatusDidChange: disconnecting
17:19:28 DEBUG NetworkExtensionVPN.notifyStatus():278 – VPN standing did change (com.bw.enterprise.ap02-dev.Tunnel): isEnabled=true, standing=5
VPNStatusDidChange: disconnected

even different strategies all the time
connecting => disconnecting = disconnected

please assist me

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments