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