How do I change the system extension in the SimpleFirewall example to endpoint security?

I'm trying to learn system extensions through fiddling. One thing I'm trying to do is take the existing SimpleFirewall code project and make it endpoint security. The problem is when I remove "Network Extensions" array from the extension entitlement file & add "com.apple.developer.endpoint" to the same entitlement file, I get the following error from sysextd.

"System extension does not appear to belong to any extension categories"

How do I tell the OS that this is an endpoint sysext? I've changed the plist and entitlement files of both app and extension to look like the endpoint example.

How do I change the system extension in the SimpleFirewall example to
endpoint security?

You no longer need to. Xcode 12.2 includes a macOS > Endpoint Security Extension target template (yay!).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
How do I change the system extension in the SimpleFirewall example to endpoint security?
 
 
Q