# Xcode compiler errors on out-of-the-box config, code still compiles

**URL:** <https://forums.unrealengine.com/t/xcode-compiler-errors-on-out-of-the-box-config-code-still-compiles/399343>\
**Category:** C++\
**Tags:** error, xcode, compiler-error, MAC, unreal-engine, question\
**Created:** [June 27, 2017, 12:44pm UTC](https://forums.unrealengine.com/t/xcode-compiler-errors-on-out-of-the-box-config-code-still-compiles/399343 "2017-06-27T12:44:48Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [June 27, 2017, 12:44pm UTC](https://forums.unrealengine.com/t/xcode-compiler-errors-on-out-of-the-box-config-code-still-compiles/399343/1 "2017-06-27T12:44:48Z")

</div>

**System:**

- Late 2016 MBP 15"
- Mac OS 10.12.5 (latest stable)
- Xcode 8.2.1 (latest stable)
- UE 4.6.1 (latest stable through Epic Games Launcher)

**Steps to reproduce:**

- Create a new project through UE4 editor
- See that code compiles out-of-the-box → yep
- Create new C++ class from UE4 editor
- Open Xcode
- Wait for code indexing to complete
- See weird errors on brand new un-touched class (screenshots below)
- See that code still compiles without problems
- Try autocomplete on newly created C++ class, doesn’t work (screenshots below)

**Steps tried & checked so far:**

- Have reinstalled Xcode & UE4 multiple times
- No whitespace in UE4 engine installation path → user header paths in Xcode config are fine (screenshot below)

 ![201415-screen+shot+2017-06-27+at+15.34.49.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/a/7eae3ea66cbdf9008a82f4becfa40ffa5bea4dd8.jpeg)

 ![201416-screen+shot+2017-06-27+at+15.35.00.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/f/6af61c68197dc131891588edbce61173f6073427.jpeg)

 ![201423-screen+shot+2017-06-27+at+15.54.51.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/f/92f2c9f5ff448598277554eabb6c840a8adde8e8.jpeg)

 ![201419-screen+shot+2017-06-27+at+15.35.21.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/d/78dc64e5ba9b7047d92348b6df43187897fe6215.jpeg)

---

<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:19pm UTC](https://forums.unrealengine.com/t/xcode-compiler-errors-on-out-of-the-box-config-code-still-compiles/399343/2 "2017-07-07T20:19:53Z")

</div>

Anyone? Still stuck with this, getting quite frustrated and discouraged by this … Starting to think swapping to Unity slowly… x\_x
