Endpoint Security App

I'm developing the Endpoint Security Daemon.

I have read the thread below and completed all the instructions to finish building and notarizing
https://developer.apple.com/forums/thread/129596

But my daemon still killed with signal 9.

There is no other way to develop Endpoint Security Daemon?

I should develop it in App and SystemExtensions?


Accepted Reply

I should develop it in App and SystemExtensions?

Well, yes, but not for this reason. Using a system extension has a number of benefits, benefits that we called out in WWDC 2020 Session 10159 Build an Endpoint Security app. However, using a launchd daemon is supported and if that better fits your model you shouldn’t let this problem stop you.

With regards your crash, are you testing on a machine with SIP enabled?

Share and Enjoy

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

Replies

I should develop it in App and SystemExtensions?

Well, yes, but not for this reason. Using a system extension has a number of benefits, benefits that we called out in WWDC 2020 Session 10159 Build an Endpoint Security app. However, using a launchd daemon is supported and if that better fits your model you shouldn’t let this problem stop you.

With regards your crash, are you testing on a machine with SIP enabled?

Share and Enjoy

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

Thanks for your answer.

Yes, I test my app with SIP enabled.

However, even if I test with SIP disabled, I get the same result.

Yes, I test my app with SIP enabled.

OK. The next step is to look at a crash report for the crash you’re getting. Please post that, using the text attachment feature (the paperclip button) to avoid clogging up the timeline.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Here is my app's crash report.
And when I running my app(App.app/Contents/MacOS/app) print error message: ERROR: "Application needs to run as root (and SIP disabled)."




Hi.

I finally solve this problem just launch it by launchctl load.

Thanks for your help.