We want to porting packet-tunnel-provider code from iOS to OSX platform, we met some problems:
1. We can create VPN profile, but the profile list in Network preference always be greyed out, it looks this profile did not enabled, it did not have dot indication (green, red or yellow) beside the profile either. I do add code to enable it like follow.
self.targetManager.enabled = true
2. The packet-tunnel-provider extension seems not running either, we can not send message to the provider, break point or NSLog did not work, that’s why I doubt it did not running at all. We do have add necessary entitlement and profile for the extension, and did not see any entitlement error message when we launch the container app.
Any suggestion? Any help is appreciate!
— Kevin