Is the solution different in each case?
It’s more that the range of solutions is different for these cases.
For managed users, the device manager can do lots of things that aren’t possible otherwise. I’m not sure if preventing app removal is one of them. If you want to research this further, I recommend:
-
The Device Management documentation
-
The Device Management tag here on DevForums
-
Various areas outside of DevForums, such as Apple Support Communities, run by Apple Support, and specifically the in Business and Education topic areas
And if you need to do something that’s not possible, you can file an enhancement request outlining your requirements.
OTOH, the story for unmanaged devices is very different. Apple usually doesn’t enable this sort of feature for unmanaged devices. The user is in control of their own Mac and should be able to remove your software without any additional restrictions.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"