Thursday, February 23, 2023
HomeiOS Developmentswift - IOS VPN Software - Discovered 0 energetic registrations for PacketTunnel...

swift – IOS VPN Software – Discovered 0 energetic registrations for PacketTunnel (com.apple.networkextension.packet-tunnel)


Cannot hook up with vpn on ios.
When making an attempt to determine a reference to the server the next message could be discovered within the machine log. No extra logs

 Discovered 0 (0 energetic) registrations for com.xyz.vpn.PacketTunnelProvider
 (com.apple.networkextension.packet-tunnel)

Issues tried to begin the Packet Tunnel:

  1. Created a brand new goal for the PT particularly for ios
  2. Tried an empty PT (as a substitute of our present iOS PT)
  3. Created a brand new app goal particularly for ios

App Entitlements

<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList- 
1.0.dtd">
<plist model="1.0">
<dict>
<key>com.apple.application-identifier</key>
<string>XYZ.com.xyz.vpn</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>XYZ</string>
<key>com.apple.safety.app-sandbox</key>
<true/>
<key>com.apple.safety.get-task-allow</key>
<true/>
<key>com.apple.safety.community.shopper</key>
<true/>
<key>com.apple.safety.community.server</key>
<true/>
</dict>
</plist>

Packet Tunnel

<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>com.apple.application-identifier</key>
<string>XYZ.com.xyz.mac.vpn.PacketTunnelProvider</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>XYZ</string>
<key>com.apple.safety.app-sandbox</key>
<true/>
<key>com.apple.safety.community.shopper</key>
<true/>
<key>com.apple.safety.community.server</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>XYZ.group.xyz</string>
</array>
</dict>
</plist>

RELATED ARTICLES

Most Popular