No, there’s no message shown in Xcode console or use system Console app; only 
when my app try to send message to the extension, it shows

Failed to send a message to the provider!!!
Failed to start VPN: Error Domain=NEVPNErrorDomain Code=1 "(null)"


> Peter Teeson <ptee...@icloud.com> 於 2016年3月3日 上午11:03 寫道:
> 
> Does the console log give any hints?
> 
>> On Mar 2, 2016, at 8:35 PM, Kevin Yu <kevi...@draytek.com 
>> <mailto:kevi...@draytek.com>> wrote:
>> 
>> 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
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to