Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Error building in xcode

Discussion in 'iOS and tvOS' started by XxPleYxX, Dec 14, 2019.

  1. XxPleYxX

    XxPleYxX

    Joined:
    Jul 26, 2011
    Posts:
    36
    I need help, apparently there is no problem when I compile the project in Unity 2019.2.16f but when I try to archive in xcode I get this error (It doesn't happen with Unity 2019.3.0f3 but updating is not a viable option):


    In file included from /Users/xxpleyxx/Desktop/iOS/Classes/Native/mscorlib23.cpp:20:
    In file included from /Users/xxpleyxx/Desktop/iOS/Libraries/libil2cpp/include/mono/ThreadPool/threadpool-ms.h:5:
    In file included from /Users/xxpleyxx/Desktop/iOS/Libraries/libil2cpp/include/mono/ThreadPool/ThreadPoolDataStructures.h:5:
    In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:275:
    In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__bit_reference:16:
    In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:645:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2456:46: error: expected unqualified-id
    /* _LIBCPP_INLINE_VAR */ constexpr __ph<9> _9{};
    ^
    <built-in>:423:12: note: expanded from here
    #define _9 1
    ^


    Screenshot.png
     
unityunity