Search Unity

Error building in xcode

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

  1. XxPleYxX

    XxPleYxX

    Joined:
    Jul 26, 2011
    Posts:
    41
    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