How to build OSX command line?

This is the commandline im using:

/Users/Shared/UnrealEngine/4.7/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -build -nocompile -nop4 -project=“/Users/fabian/Projects/DogFight/DogFight.uproject" -cook -compressed -allmaps -stage -archive -archivedirectory=“/Users/fabian/Projects/DogFight/Build/OSXNoEditor/" -package -OSXNoEditor -clientconfig=Development -ue4exe=UE4Editor -clean -pak -targetplatform=Mac -utf8output

and the error im getting is bellow:
ERROR: Exception in AutomationTool: Base UE4 project did not contain an editor target.
link text

just updated my references to Mac instead of IOS/OSX same problem.

I actually want a mac(desktop) build, not osx(ipad)!

Hey Gibbz,

Were you able to successfully build using the command line on the Mac, since this report?

Are still experiencing the issue you are reporting in engine version 4.9.2?

Let me know if you have further questions.

Thank you,