• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: packet-tunnel-provider on OSX platform
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packet-tunnel-provider on OSX platform


  • Subject: Re: packet-tunnel-provider on OSX platform
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Thu, 03 Mar 2016 08:15:06 +0000

On 3 Mar 2016, at 01:35, Kevin Yu <email@hidden> wrote:

> Any suggestion?

The most common problems I see in this space are:

* code signing issues — You have to make sure that both your app and your provider extension are signed with the special Network Extension entitlements, and both are covered by a provisioning profile that whitelists those entitlements.  See the following DevForums post for details.

<https://forums.developer.apple.com/message/75928#75928>

* extension registration — Registration problems are more common on OS X than iOS because the app install process is more free form.  You can confirm that the extension is registered with the following command:

$ pluginkit -m -p com.apple.networkextension.packet-tunnel

This should produce output that shows your extension.  To get a feeling for the output you should expect to see, you can run the command for some other extension point.  For example, to see share extensions:

$ pluginkit -m -p com.apple.share-services

If your extension isn't registered, you should do two things:

- Install your app on a fresh machine (I use a VM for this, rolling back to a snapshot for each debugging iteration) to see that it works in general.  A lot of the time problems like this only occur on your development machine, where you're continually creating and launching new versions of the app.

- On your development machine you can force the extension to register using:

$ pluginkit -a /path/to/extension

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: packet-tunnel-provider on OSX platform
  • Next by Date: Re: packet-tunnel-provider on OSX platform
  • Previous by thread: Re: packet-tunnel-provider on OSX platform
  • Next by thread: Re: packet-tunnel-provider on OSX platform
  • Index(es):
    • Date
    • Thread