# How to build OSX command line?

**URL:** <https://forums.unrealengine.com/t/how-to-build-osx-command-line/319308>\
**Category:** Platform & Builds\
**Tags:** osx, command, line, build, MAC, unreal-engine, question\
**Created:** [May 21, 2015, 5:19am UTC](https://forums.unrealengine.com/t/how-to-build-osx-command-line/319308 "2015-05-21T05:19:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d22fd677](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d22fd677](https://forums.unrealengine.com/u/anonymous_user_d22fd677)\
**Post date:** [May 21, 2015, 5:19am UTC](https://forums.unrealengine.com/t/how-to-build-osx-command-line/319308/1 "2015-05-21T05:19:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d22fd677](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d22fd677](https://forums.unrealengine.com/u/anonymous_user_d22fd677)\
**Post date:** [May 21, 2015, 5:31am UTC](https://forums.unrealengine.com/t/how-to-build-osx-command-line/319308/2 "2015-05-21T05:31:03Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [October 11, 2015, 8:24pm UTC](https://forums.unrealengine.com/t/how-to-build-osx-command-line/319308/3 "2015-10-11T20:24:28Z")

</div>

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,
