I need to Sign my app with a Developer ID in order to get it notarized so was following along this thread
https://developer.apple.com/forums/thread/125508?page=1
I performed all of the changes suggested by Quinn, notarized the app , stapled it and installed from a .dmg.
Upon launching I get the VPN permission with a profile successfully installed but neagent still won't launch bc its signed with a developer id.
Code Block error 16:49:08.750262-0400 NEVPNTunnelPlugin([476]): Validation of the extension failed nesessionmanagerdefault 16:49:08.750966-0400 NESMVPNSession[Primary Tunnel::7BB4FF26-2EAD-47AF-85F7-880749561AD0:(null)] in state NESMVPNSessionStateStarting: plugin NEVPNTunnelPlugin([476]) started with PID 0 error (null) nesessionmanagererror 16:49:08.750013-0400 Rejecting app extension provider PacketTunnel because it is signed with a Developer ID certificate neagent
I checked the embedded profile
Code Block security cms -D -i /Applications/MYAPP.app/Contents/embedded.provisionprofile
Code Block <key>Entitlements</key> <dict> <key>com.apple.developer.system-extension.install</key> <true/> <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider-systemextension</string> <string>app-proxy-provider-systemextension</string> <string>content-filter-provider-systemextension</string> <string>dns-proxy-systemextension</string> <string>dns-settings</string> </array> <key>com.apple.application-identifier</key> <string>BUNDLEID</string> <key>keychain-access-groups</key> <array> <string>TEAM.*</string> </array> <key>com.apple.developer.team-identifier</key> <string>TEAM</string> <key>com.apple.developer.associated-domains</key> <string>*</string> </dict>
Code Block default 09:50:39.422703-0400 Signature is valid and has the correct designated requirement neagent default 09:50:39.422930-0400 Provider is signed with a Developer ID certificate neagent error 09:50:39.422957-0400 Rejecting app extension provider com.appid.PacketTunnel because it is signed with a Developer ID certificate neagent default 09:50:39.423849-0400 [u 1B062A81-6FE9-44B0-851E-BCF4FE7FAD8A:m (null)] [<private>(<private>)] terminating neagent
I'm running macOS 15.6
Here's output from the notarization
Code Block "logFormatVersion": 1, "jobId": "ac025b03-d4ff-4a10-97f5-85b43e6b4f3f", "status": "Accepted", "statusSummary": "Ready for distribution", "statusCode": 0, "archiveFilename": "MyApp.dmg", "uploadDate": "2020-08-07T14:03:00Z", "sha256": "92349106a42dece6ae4298677aeaaf17aa02b1a431acf5594ab1fc700916a6bb", "ticketContents":[ ], "issues": null
^^ I stripped the ticketContents