Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.
We need to disbale it with Configuration Profiles.
- Create a new configuration profile, an XML file with
.mobileconfigextension, refer the sample file in this gist - replace the UUID with your own, you can use
uuidgenin terminal to generate a new one - 2 UUIDs are required, one for the profile and one for the payload
- double click the
.mobileconfigfile to install the profile on your Mac - in system pereferences -> device management, click to open the profile and enable it
- restart the Mac
You can see in Sysytem Settigns -> Security & Privacy, allow applications from Anywhere is set.



Борис, напишу по русски.
Ты не в состоянии отличить команду master disable от команды GLOBAL DISABLE?
Команда прекрасно работает как на маках с intel так и на процессорах apple silicon в Mac Os 15.6.
Если ты не проверил работоспособность этой команды - зачем ты мне что то доказываешь?! (Хочется прям матом написать)
Для начала проверь.
Пожалуйста не доказывай мне обратное.