OK, basically what I did,
1) Clone the git repository.
You can do this two ways:
a) by clicking
here and then clicking on Clone in Mac. You will need to download the github app.
ScreenshotChoose to save it in ~/SFML (or any other folder).
b) Alternatively, if you have git installed in your bash terminal, simply type
$ cd ~
$ git clone
https://github.com/SFML/SFML.git2) Download and install C-make. Open it.
- Building release
Where it says "Where is the source code?", type ~/SFML
Where it says "Where to build the binaries", type ~/SFML/build-release
Then click configure, choose Unix makefile and default compiler and OK.... then wait a bit.
There will be a bunch of options in red. Tick all of them (if you don't have doxygen then leave BUILD_DOC unticked), and make sure CMAKE_BUILD_TYPE is Release.
Click configure again, and then click generate.
- Building debug
Do everything the same, but build in ~/SFML/build-debug, and change CMAKE_BUILD_TYPE to Debug.
3) Compiling and installing
Open up a terminal and type
$ cd ~/SFML/build-release
$ make clean
$ sudo make install
Enter your password
then type
$ cd ../debug
$ make clean
$ sudo make install
Everything should be installed properly now.
4) Making a project with Xcode4!
Open up Xcode4, then click File > New > New Project. The screen should now look like
this. Choose either one, and there you go!
If the templates didn't come up, then you probably forgot to tick INSTALL_XCODE4_TEMPLATES in cmake, OR, you didn't click configure the second time.
Any problems with this, just ask
EDIT: Made the instructions a bit clearer based on some replies