ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
482 stars 215 forks source link

I don't get call of func startTunnel(options...) on MacOS 10.15.7 but it works good on MacOS 11... #216

Open csiAndreyMitskevich opened 3 years ago

csiAndreyMitskevich commented 3 years ago

After the call of manager?.connection.startVPNTunnel(options.... where manager is NETunnelProviderManager I don't get execution in override func startTunnel(options: [String : NSObject]?, completionHandler: @escaping (Error?) it is method in subclass of NEPacketTunnelProvider. This implementation works good on iOS and on macOS 11... but it doesn't work on macOS 10.15.7. Do you have any ideas/reason? I added a lot of logs and as I understood my network extension doesn't load in memory at all. At the first it was iOS application but now it is MacCatalyst project. The version of OpenVPNAdapter is (0.7.0)

Also from the console I see Last disconnect error for APP changed from "none" to "The VPN app used by the VPN configuration is not installed"

angryAnt7 commented 3 years ago

@csiAndreyMitskevich did you solve it?

csiAndreyMitskevich commented 3 years ago

No, I didn't. We bumped deployment target for now, because solution is not clear for us.

angryAnt7 commented 3 years ago

@csiAndreyMitskevich thanks for replying.

what is mean We bumped deployment target for now?

return macOS 11? or ios not supported ?

csiAndreyMitskevich commented 3 years ago

For now our macOS app can be run on OS starting from 11.