Can not open up a window with SFML

I am using xcode 6.4 with sfml 2.3. So I get everything set up, and hit run. It tells me this


"Command /bin/sh failed with exit code 2"


So I set it to "run script only well installing" in the build phases. I try to run the program again and it does not open up any window, and goes to tab for the bottom tool bar tittled "thread 1". It says this in one of the boxes which I assume is an error code "


dyld: Library not loaded: @rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc

Referenced from: /Users/James/Library/Developer/Xcode/DerivedData/r-benxpyzuqgbjeucgqjadwddjajka/Build/Products/Debug/r.app/Contents/Frameworks/sfml-audio.framework/Versions/2.3.2/sfml-audio

Reason: image not found

(lldb) "


In the sfml tutorial I've been following along with, the guy who was making it had no problem running and opening up a window in xcode.

heres the link to that:


https://www.youtube.com/watch?v=H7g20Xit8lI


I just want to open up a window and run a game. I'm pretty sure the code I'm using is the default code for using sfml, or maybe i'm wrong and I added it somewhere within the files i was configuring well following along with the tutorial in order to set up sfml for this. Please help.

Can not open up a window with SFML
 
 
Q