You should run:
xcodebuild -arch i386 -sdk iphonesimulator7.1 -workspace [name].xcworkspace -scheme [targetName or ProjectName]
also the build path may differ from what was mentioned in the Facebook documentation, you can find the build under {Derived data directory}/build/Release-iphonesimulator/{projectname}.app
source share