Problems installing SFML on MacOS/Xcode (M2 chip)

28 Views Asked by At

I'm having problems installing SFML to macOS Sonoma 14.4 and Xcode 15.1 (M2 chip). I followed the guide on the SFML page here: https://www.sfml-dev.org/tutorials/2.6/start-osx.php. I chose the Frameworks way because it is recommended and I copied all the files. After I created the SFML App on the last step, I cannot get it to run.

I used xcode-select --install to install CLT in Xcode like it said in the guide. framworks and extlib is copied here:frameworks folder Templates is copied here: Templates folder

This is the error message: PhaseScriptExecution failed with a non zero exit code I searched online and some tutorials tell me to check this box: run script for install builds only The error message is gone. Then I run the program but it return this error message:Xcode cannot find some files I cannot find anything online that solve my issues and I do not understand what is going on.

Is there any way I can get this to work?

0

There are 0 best solutions below