system extension install failed in macos10.15.7, but successful in macos11.6

When I use NEAppProxyProvider system extension, I call

OSSystemExtensionRequest.activationRequest

and submitRequest, it can do success in macos 11.6, but failed in macos10.15.7 (got: Error Domain=OSSystemExtensionErrorDomain Code=9 "(null)")

Why?

Here is my plist

<dict>
	<key>NEMachServiceName</key>
	<string>$(TeamIdentifierPrefix)</string>
	<key>NEProviderClasses</key>
	<dict>
		<key>com.apple.networkextension.app-proxy</key>
		<string>$(PRODUCT_MODULE_NAME).AppProxyProvider</string>
	</dict>
</dict>


Error 9 is OSSystemExtensionErrorValidationFailed. If you search DevForums for that you’ll find a few threads where I’ve discussed potential causes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

system extension install failed in macos10.15.7, but successful in macos11.6
 
 
Q