The "Prevented from modifying apps on your Mac" message can be bypassed in Settings → Privacy & Security → App Management (switch the toggle for the app you want to be able to modify other apps).
Topic:
Code Signing
SubTopic:
General
Tags: