- Download SFML: https://www.sfml-dev.org/download/sfml/2.5.1/ Mac OS Version: Clang - 64-bit (OS X 10.7+, compatible with C++11 and libc++)
- Extract archive
- Copy Frameworks and extlibs from source to /Library/Frameworks
- Copy include/SFML directory from source to /usr/local/include
- Copy lib/ directory content from source to /usr/local/lib
- Copy templates/SFML from source to : ~/Library/Developer/Xcode/Templates/
- Validate and configure search path
- Go to Build Settings section
- Search Paths settings "Always Search User Paths(Deprecated): Yes"
- Search Paths settings "Framework Search Paths: /Library/Frameworks"
- Search Paths settings "Header Search Paths: /usr/local/include/"
- Search Paths settings "Library Search Paths: /usr/local/lib/"
- Create new SFML Project from SFML template
- Go to Build Phases
- On "Run Script" section, check/enable: "Run script only when installing" this will prevent from build error
I am on xcode 15