I tried to run from XCode4.2, but it gave me this error
Command /bin/sh failed with exit code 2
Can somebody please help me fix this? Thank you!
EDITED :
After proceeding to use makefile instead, I think I successfully created shared libraries. However, for some reasons, the XCode4 template is never installed and I have to install manually. I checked the flag already, and I have done this three or four times so I'm sure I didn't miss the flag.
Now that I create XCode4 SFML project, I can't compile it. The error it gave me is
ld: framework not found sfml-system
Command /Developer/usr/bin/clang++ failed with exit code 1
However, I have included all the libsfml-xxx.dylib already. What seems to be the problem here?