Prevent authorisation prompt during deactivationRequest

By calling the deactivationRequest from the main app bundle, we see Privacy & Security prompts for TouchID to deactivate the System Extension.

We want to know if there's way to avoid that prompt. And also need know why the prompt pops up to deactivate our own app's System Extension component.

We even tried to call the deactivate request from Daemon which contain the root access. We still see the prompt.

https://developer.apple.com/documentation/systemextensions/ossystemextensionrequest/deactivationrequest(forextensionwithidentifier:queue:)

We want to know if there's way to avoid that prompt.

There is not.

We even tried to call the deactivate request from Daemon which contain the root access.

That’s not surprising.

Let me reiterate a point from an earlier thread: The System Extensions framework is intended to be used by applications to install and remove system extensions based on user actions. Any use outside of that space is unsupported and may not behave reliably.

If you’re deploying your app to a managed environment, the MDM and configuration profile infrastructure has stuff that can help with automating processes like this. OTOH, if you’re deploying this to normal users, it’s important that the user be in control of what’s running on their Mac.

Share and Enjoy

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

Prevent authorisation prompt during deactivationRequest
 
 
Q