Search Unity

Can't Android il2cpp build on macOS Catalina

Discussion in 'Editor & General Support' started by kyubuns, Aug 13, 2019.

  1. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    35
    I try android il2cpp build on macOS Catalina(beta).
    That cause error the screenshot.

    I think android-ndk-r16b can't run on Catalina.
    Is there a solution?
     

    Attached Files:

  2. ScottF

    ScottF

    Director of Development, Mobile Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    90
    This appears to be an issue that that version of Clang for NDK r16b was not signed which under new OSX rules is prevented from running. If you upgrade to Unity 2019.3 (which now has NDK r19) this is no longer an issue. We will investigate what can be done for older versions of Unity/NDK.
     
  3. abuki

    abuki

    Joined:
    Nov 14, 2013
    Posts:
    39
    Hello, is every version of Unity tied a to a specific version of NDK?
    Updating to current alpha is not a solution for me (and I have to be on 10.15 Catalina because of other reasons), so I am really interested if there is some workaround.
     
  4. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    35
    Thank you for your reply.
    I can't use alpha version unity too.
    So I try to build it on another old machine for a while.
     
  5. mamad_m2

    mamad_m2

    Joined:
    Jul 3, 2017
    Posts:
    1
    Same problem here on Unity 2018.4.2. Any updates?
     
  6. dhodosok

    dhodosok

    Joined:
    Sep 25, 2018
    Posts:
    1
  7. hearstzhang

    hearstzhang

    Joined:
    Apr 1, 2019
    Posts:
    14
    Hi there, is there any progress of this issue? We have to use 2018.4 lts with ndk r16b which failed to build because of this, and the solution provided by @dhodosok seems useless.