Network extension rights, how to enable it?

I need to use the network extension features in the application, especially to use the proxy features. The document says:

Unless you are using the NEHotspotHelper class, you do not need to obtain permissions from Apple to use the network extension classes . However, you still need to activate permission to expand the network through the developer's portal . To request the right to use the NEHotspotHelper class, visit https://developer.apple.com/contact/network-extension .

I went to the developer's portal, but could not find how to enable permission to expand the network. Is it because my role is “administrator” and not “team agent”? Or can someone tell me how to enable this right?

+5
source share
3 answers

Due to the confusing document and feature missing in xcode 8.1, it cost me a whole week to find a solution.

1. 10 2016 Apple

2. Hotspot Helper, https://developer.apple.com/contact/network-extension/

VPN Manager, xcode.

+11

Apple dev / Network Extensions. Personal VPN.

" " . , , , ? , , Apple .

. , - :

<key>com.apple.developer.networking.networkextension</key>
<array> 
  <string>app-proxy-provider</string> 
  <string>content-filter-provider</string> 
  <string>packet-tunnel-provider</string>
</array>
+2

Xcode 9 Xcode.

  • Xcode PreferencesAccount, .
  • General app target, .

enter image description here

  1. In the destination application, select the tab Capabilitiesand select the radio button to the right of Network Extensions. Then select the capabilties that you are going to use.

enter image description here

  1. Then check the plist YOUR_PROJECT_NAME.entitlements plist file. The selected features should be listed Network Extensions. enter image description here

  2. As a last step, check your AppId from the developer portal, if everything is ok.

+2
source

Source: https://habr.com/ru/post/1659067/


All Articles