# XCode: Cleaning the project deletes the Unreal Binary

**URL:** <https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505>\
**Category:** Platform & Builds\
**Tags:** xcode, build, unreal-engine, question\
**Created:** [November 24, 2015, 5:05am UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505 "2015-11-24T05:05:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![timtimmy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@timtimmy](https://forums.unrealengine.com/u/timtimmy)\
**Post date:** [November 24, 2015, 5:05am UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/1 "2015-11-24T05:05:07Z")

</div>

This is a rather frightening bug: Whenever I clean my project (from within Xcode), I have to reinstall Unreal because the process deletes the Unreal editor binary (UE4Editor.app).

XCode 7.0.7, OS 10.10.4 and Unreal Engine 4.10.0.

 ![67906-screen+shot+2015-11-23+at+10.08.55+pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/5/8e5c5b7cd73046e81a8ffb9432992ee5355ca89b.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 24, 2015, 5:24pm UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/2 "2015-11-24T17:24:28Z")

</div>

Hey -

This is a known issue that is currently being investigated (UE-23624). You can still use Clean from XCode however rather than having to reinstall you can choose to Verify the engine version from the launcher to regenerate the affected files.

Cheers

---

<div class="post-metadata">

**Author:** ![timtimmy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@timtimmy](https://forums.unrealengine.com/u/timtimmy)\
**Post date:** [November 24, 2015, 7:36pm UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/3 "2015-11-24T19:36:52Z")

</div>

That’s really helpful, thank you!

---

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [December 31, 2015, 4:40am UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/4 "2015-12-31T04:40:41Z")

</div>

I’m using a source build. When I clean my game project in VS, it also cleans the engine binary, which results in a ~20-30 minute build time. Is this a result of this bug? Or should I open a new question tagged as a bug report? Or is this intended behavior?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 31, 2015, 1:05pm UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/5 "2015-12-31T13:05:23Z")

</div>

It is likely that the two are releated. I will edit the report to include this updated information.

---

<div class="post-metadata">

**Author:** ![rotwang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rotwang](https://forums.unrealengine.com/u/rotwang)\
**Post date:** [June 7, 2016, 11:02am UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/6 "2016-06-07T11:02:43Z")

</div>

Still not fixed, the editor should be excluded here, most people work on game or plugins and don’t touch the editor code.  
Verifying from the launcher needs too much time. You should be fine to just restore a copy from the UE4Editor.app via TimeMachine, by hand or script. Just testing this. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8988ffa5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8988ffa5](https://forums.unrealengine.com/u/anonymous_user_8988ffa5)\
**Post date:** [July 7, 2017, 8:16pm UTC](https://forums.unrealengine.com/t/xcode-cleaning-the-project-deletes-the-unreal-binary/339505/7 "2017-07-07T20:16:42Z")

</div>

Thanks for this, noticed the same issue - funny one.
