Friday, December 22, 2023

Do you need to 'open' a bunch of .dylib files and macOS bitches about it?

On a brisk December morning I was trying to run qemu from a terminal on my Mac mini. When I issued the 'qemu-system-ppc' command macOS threw a shit fit about all 36 .dylib files in the libs directory not being from a recognized developer. I figured I needed to right click and open each one a few times to set them as unblocked. I got about five files into it and was like "e'ff this noise'. I went out on google and found this site. The below command fixed the problem.

xattr -dr <file name>

or in my case

xattr -dr *.dylib

Thank you Dave Anderson.