Hello I have installed SFML in my M1 chip Bigsur using this tutorial https://www.youtube.com/watch?v=WOyp5n2FmZY and also fixed all the error related to M1 chip.But when I run my project I get this pop ups.
popups
dyld: Library not loaded: @rpath/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile
Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/2.5.1/sfml-audio
Reason: no suitable image found. Did find:
/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile: code signature in (/Library/Frameworks/vorbisfile.framework/Versions/A/vorbisfile) not valid for use in process using Library Validation: library load disallowed by system policy
It even showed pop ups for every frameworks I went to settings and gave allow for each of them. But it kept on showing same popup how can I solve this problem in BigSur
2
Answers
I think you will find that the library in question has been quarantined by the operating system. I would suggest:
ls -l@ /path/to/library-or-library_bundle
sudo xattr -d com.apple.quarantine /path/to/library-or-library_bundle
You can also go to your system preferences, then
Security & Privacy
. OnGeneral
you see the settings forAllow apps downloaded from:
. If you have a message like the one you have mentioned above, it says here"your.framework" was blocked from use because it is not from an identified developer
with a buttonAllow Anyway
next to it. Click it.