Search Issue Tracker

Fixed in Unity 2018.3

Votes

5

Found in

2018.1.0b13

Issue ID

1022895

Regression

Yes

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

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2Core functionality majorly impacted

To reproduce:
1. Open attached project "XcodeCompileErrors.zip"
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:
2017.4.1f1

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

Comments (19)

  1. 544ae631ae6a8e73a042450671fee3a6?d=mm

    Ferhattepe

    Aug 31, 2018 11:02

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

  2. Fa88659d453415b79ecaebd287bfd78d?d=mm

    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. Fa88659d453415b79ecaebd287bfd78d?d=mm

    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. 882801bd5166744aaf02a1b5da2ac2be?d=mm

    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. 53ba0d81846262ec5a0c5e3f3f296d4a?d=mm

    DmitryKotenko

    Jul 06, 2018 09:48

    2018.1.6f1 not fixed

  6. E7aa527f6f8787c3a19dea695cc5a050?d=mm

    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
    https://issuetracker.unity3d.com/issues/ios-compile-errors-in-generated-xcode-project-in-unityrendering-dot-h-and-unityinterface-dot-h-for-unknown-type-name-bool

    it works for me.

  7. B920cef462a89c2d571564af9d9cb560?d=mm

    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. 53ba0d81846262ec5a0c5e3f3f296d4a?d=mm

    DmitryKotenko

    Jun 18, 2018 14:22

    2018.1.5f1 not fixed.

  9. D4640846877a9daeabeb1224009a794f?d=mm

    negicurry

    Jun 14, 2018 07:20

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

  10. Fc629b042434bf71b9a4ae9e533d574d?d=mm

    GAMEDIA_Justin

    Jun 13, 2018 08:08

    2018.1.4f1, still not fixed.

All about bugs

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