Search Unity

IOS Build fails Diffirient errors in 2018, 2017 compilers

Discussion in 'Unity Build Automation' started by JasperFlame, May 16, 2018.

  1. JasperFlame

    JasperFlame

    Joined:
    Jul 31, 2017
    Posts:
    2
    Hello!
    I got strange errors in iOS building processes in UCB, when I change version of compiler, errors changed too.

    2018.x compiler:
    Code (CSharp):
    1. 499: + Building with Xcode 9.3
    2. 500: BUILD_PATH/6grid.battlemagic.default-ios-new/BattleMagic-Client/temp.XXXXXX20180516-6102-gs0b35/Classes/Unity/UnityInterface.h:187:1: unknown type name 'bool'
    3. 501: BUILD_PATH/6grid.battlemagic.default-ios-new/BattleMagic-Client/temp.XXXXXX20180516-6102-gs0b35/Classes/Unity/UnityInterface.h:187:1: unknown type name 'bool'
    4. 502: fastlane finished with errors
    5. 503: /BUILD_PATH/.mason/buildpacks/xcode/bin/compile:253:in `block in build': ! xcode build failed. (RuntimeError)
    6. 504: ! build of 'default-ios-new' failed. compile failed
    2017.x compiler:
    Code (CSharp):
    1. 491: Undefined symbols for architecture arm64
    2. 492: ld: symbol(s) not found for architecture arm64
    3. 493: clang: error: linker command failed with exit code 1 (use -v to see invocation)
    Please help me to resolve this problem.
    I hope for your help
    Best Regards,
     
  2. Antoine_OSG

    Antoine_OSG

    Joined:
    Sep 2, 2016
    Posts:
    43
    Hello, I'm having the exact same error. Tried to build a "local" version in Xcode and it worked.
    Any idea what this could be?
     
  3. chatpongs

    chatpongs

    Joined:
    Mar 2, 2015
    Posts:
    24
    Hi. I have the same problem. Anyone found the solution?
     
  4. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    any news on this?
     
  5. awhedbee

    awhedbee

    Joined:
    Apr 19, 2017
    Posts:
    1
    Same error when attempting a cloud build on 2017.1


    Classes/Unity/UnityInterface.h:187:1: error: unknown type name 'bool'
     
    Last edited: Jun 19, 2018