# MacOS 10.12 beta / Xcode 8.0 build issues

**URL:** <https://forums.unrealengine.com/t/macos-10-12-beta-xcode-8-0-build-issues/362782>\
**Category:** Platform & Builds\
**Tags:** xcode, build, unreal-engine, compile, question, CPP\
**Created:** [July 3, 2016, 3:45am UTC](https://forums.unrealengine.com/t/macos-10-12-beta-xcode-8-0-build-issues/362782 "2016-07-03T03:45:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grislebeard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grislebeard](https://forums.unrealengine.com/u/grislebeard)\
**Post date:** [July 3, 2016, 3:45am UTC](https://forums.unrealengine.com/t/macos-10-12-beta-xcode-8-0-build-issues/362782/1 "2016-07-03T03:45:49Z")

</div>

I built UE4 a while back using macOS 10.11, but after updating to the 10.12 beta with Xcode 8.0, I keep getting an error (on release, promoted, and master branches) that looks like this:

> Runtime/CoreUObject/Public/UObject/Class.h:901:4:  
> error: destructor called on non-final  
> ‘SomeClassOrAnother’ that has virtual  
> functions but non-virtual destructor  
> [-Werror,-Wdelete-non-virtual-dtor]
> 
> ((CPPSTRUCT\*)Dest)-\>~CPPSTRUCT();

---

<div class="post-metadata">

**Author:** ![grislebeard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grislebeard](https://forums.unrealengine.com/u/grislebeard)\
**Post date:** [July 3, 2016, 6:17pm UTC](https://forums.unrealengine.com/t/macos-10-12-beta-xcode-8-0-build-issues/362782/2 "2016-07-03T18:17:21Z")

</div>

Ok, I got UE4 to build on macOS 10.12 with Xcode 8.0 doing the following steps:

1. Manually build mono from the master branch following the usual make steps (download, config, make, make install).

2. In Engine/Source/Runtime/Online/HTTP/Private/Apple/AppleHTTP.cpp change

3. In Engine/Source/Runtime/Core/Public/Mac/MacPlatformCompilerPreSetup.h after all the ignored warnings add

The problem is, even if you get everything to build, the editor still gets stuck in the initializing state at 10%. I guess UE4 just isn’t usable on macOS 10.12 for now.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_515625df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_515625df](https://forums.unrealengine.com/u/anonymous_user_515625df)\
**Post date:** [March 25, 2017, 4:42pm UTC](https://forums.unrealengine.com/t/macos-10-12-beta-xcode-8-0-build-issues/362782/3 "2017-03-25T16:42:47Z")

</div>

You don’t actually need to build mono yourself. You just have to download a version greater or equal to 4.6 and make sure it’s in your path. 4.8 downloaded via Visual Studio for Mac works perfectly fine.
