Process command '../il2cpp.exe' finished with non-zero exit value 126

  1. I exported the project for Android build on Windows 10 using Unity 2020.2b2.
  2. I passed the build to the Android developer to in the Android project as a library.
  3. When the developer tries to build the project on Mac it shows error:
Process command '../UnityProject/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/net471/il2cpp.exe' finished with non-zero exit value 126

What is wrong with the error? Why it refers to “exe” file on Mac?
Any advice?

Ok, It seems like the way of things with Unity, but still would be desirable to have an easier workflow when generating Library for your team members. It seems, iOS Library generation workflow is much easier and does not require lots of tweaks.

Did you manage to find a workaround? other than having your android devlopper to install Unity on his side?

Maybe the project should be exported from a Mac

1 Like