Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2018.1.X, 2018.2.X



Found in



Issue ID




[iOS] Xcode compiler errors unknown type name bool in UnityInterface.h



To reproduce:
1. Open attached project ""
2. Build for iOS
3. Run build with Xcode to iOS device

Expected result: the project is built to iOS device
Actual result: unknown type name bool in UnityInterface.h errors in the Xcode compilers

Reproduced on:
2018.1.0a1 2018.1.0f1 2018.2.0b1

Not reproduced on:

iPhone SE iOS 9.3
Xcode Version 9.3 (9E145)
MacOS 10.13.4

Comments (19)

  1. Ferhattepe

    Aug 31, 2018 11:02

    this import fixed my problem => #include <stdbool.h>

  2. QuantumCalzone

    Jul 17, 2018 05:57

    Actually, its working now.

    I think you have to post a comment for your computer to realize its fixed now. /s

  3. QuantumCalzone

    Jul 17, 2018 04:36

    Just updated to 2018.2.0f2 to try the fix. Did a clean build and the error still remains.

  4. ylen_sami

    Jul 12, 2018 10:36

    Confirmed that still occurs in 2018.2.0f2. This is really frustrating. Do not Unity engineers unity test at all? This issue has been occurring over many versions and is still not fixed.

  5. DmitryKotenko

    Jul 06, 2018 09:48

    2018.1.6f1 not fixed

  6. PAHeartBeat

    Jul 05, 2018 10:37

    I faced the same issue with unity 2018.1.6f1.

    Please check comment by @Michel_Lightweave on this issue

    it works for me.

  7. summitgamesentertainment

    Jun 25, 2018 19:43

    This is not fixed. Any solution apart from downgrading it to 2017.4.f1 and cloud build?
    I am using 2018.1.1f1

  8. DmitryKotenko

    Jun 18, 2018 14:22

    2018.1.5f1 not fixed.

  9. negicurry

    Jun 14, 2018 07:20

    SYSLORD2K2's PostProcessBuild worked for me.
    Thanks for sharing the code.
    Hope this gets fixed soon.

  10. GAMEDIA_Justin

    Jun 13, 2018 08:08

    2018.1.4f1, still not fixed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.