Hello everyone!
I'm trying to set up NEAppProxyProvider according to this answer. I want to use App Proxy without MDM (for testing purpose). I've added NETestAppMapping key to Info.plist of my container app, so it looks like:
<key>NETestAppMapping</key>
<dict>
<key>A2B6DB59-405C-4B6D-B9CD-6E25CFE865E3</key>
<array>
<string>ua.ky1vstar.testapp</string>
</array>
</dict>
I build and install my app, but when I'm trying to install Configuration Profile through Apple Configurator 2/my iPhone says me that it's incorrect and can't be installed. What am I doing wrong? My container app bundle id is ua.ky1vstar.appproxy1 and my App Proxy Provider extension bundle id is ua.ky1vstar.appproxy1.httpproxy. Here is my mobileconfig:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>OverridePrimary</key>
<true/>
<key>ProviderType</key>
<string>app-proxy</string>
<key>UserDefinedName</key>
<string>AppHTTPProxyProvider</string>
<key>VPNSubType</key>
<string>ua.ky1vstar.appproxy1.httpproxy</string>
<key>VPNType</key>
<string>VPN</string>
<key>VPNUUID</key>
<string>A2B6DB59-405C-4B6D-B9CD-6E25CFE865E3</string>
</dict>
</array>
<key>PayloadDescription</key>
<string>Provides customization of NEAppProxyProvider.</string>
<key>PayloadDisplayName</key>
<string>Advanced NEAppProxyProvider</string>
<key>PayloadIdentifier</key>
<string>custom.proxy.app</string>
<key>PayloadOrganization</key>
<string>KY1VSTAR</string>
<key>PayloadType</key>
<string>com.apple.vpn.managed.applayer</string>
<key>PayloadUUID</key>
<string>85004A94-9894-448E-8FE5-333652337EA3</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>AppHTTPProxyProvider Profile</string>
<key>PayloadDisplayName</key>
<string>AppHTTPProxyProvider Profile</string>
<key>PayloadIdentifier</key>
<string>custom.proxy</string>
<key>PayloadOrganization</key>
<string>iphone.flexserve.net</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>9152B314-947F-475E-B09E-0536BF62ABCD</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>