Search Unity

IL2CPP error

Discussion in 'OSX' started by jkampitakis, Oct 19, 2018.

  1. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    We try to build for IL2CPP using 2018.2.13f1 but we get the following error:



    Failed running /Applications/Unity/Hub/Editor/2018.2.13f1/Unity.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="MacOSX" --architecture="x64" --configuration="Release" --outputpath="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Native/GameAssembly.dylib" --cachedirectory="/Users/john/Documents/llshooter/Assets/../Library/il2cpp_cache" --map-file-parser="/Applications/Unity/Hub/Editor/2018.2.13f1/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Unity.TextMeshPro.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/CatlikeCoding.NumberFlow.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/AppStoreSettings.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/DOTweenPro.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/DOTween.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.Config.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Facebook.Unity.Settings.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.Analytics.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.OdinInspector.Attributes.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.AOTGenerated.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Serialization.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Sirenix.Utilities.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Stores.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/System.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/UnityEngine.Purchasing.dll" --assembly="/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/mscorlib.dll" --generatedcppdir="/Users/john/Documents/llshooter/Temp/StagingArea/Data/il2cppOutput"
    stdout:
    IL2CPP error for method 'System.String <>__AnonType0`2::ToString()' in assembly '/Users/john/Documents/llshooter/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll'
    Additional information: Build a development build for more information. Exception has been thrown by the target of an invocation.
    il2cpp.exe didn't catch exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown.
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, TypeReference typeReference)
    at Unity.IL2CPP.GenericsCollection.Inflater.ConstructGenericType(GenericContext context, TypeDefinition typeDefinition, IEnumerable`1 genericArguments)
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, GenericInstanceType genericInstanceType)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodReference methodReference, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(Instruction instruction, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodBody methodBody, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(TypeDefinition typeDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(ModuleDefinition moduleDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(AssemblyDefinition assemblyDefinition, Context context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Unity.Cecil.Visitor.Visitor.Visit[T](T node, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.CollectPerAssembly(IInteropDataCollector interopDataCollector, AssemblyDefinition assembly)
    at System.Linq.Enumerable.SelectIListIterator`2.MoveNext()
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.MergeCollections(IEnumerable`1 collections)
    at Unity.IL2CPP.AssemblyConverter.Apply()
    at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies(IEnumerable`1 assemblyDirectories, IEnumerable`1 explicitAssemblies, NPath outputDir, NPath dataFolder, NPath symbolsFolder, NPath executableAssembiesFolder, NPath monoLibFolder, NPath monoEtcFolder, NPath[] searchDirectories, String entryAssemblyName, NPath[] extraTypesFiles)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    stderr:
    Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown.
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, TypeReference typeReference)
    at Unity.IL2CPP.GenericsCollection.Inflater.ConstructGenericType(GenericContext context, TypeDefinition typeDefinition, IEnumerable`1 genericArguments)
    at Unity.IL2CPP.GenericsCollection.Inflater.InflateType(GenericContext context, GenericInstanceType genericInstanceType)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodReference methodReference, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(Instruction instruction, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodBody methodBody, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericContextFreeVisitor.Visit(MethodDefinition methodDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(TypeDefinition typeDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(ModuleDefinition moduleDefinition, Context context)
    at Unity.Cecil.Visitor.Visitor.Visit(AssemblyDefinition assemblyDefinition, Context context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Unity.Cecil.Visitor.Visitor.Visit[T](T node, Context context)
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.CollectPerAssembly(IInteropDataCollector interopDataCollector, AssemblyDefinition assembly)
    at System.Linq.Enumerable.SelectIListIterator`2.MoveNext()
    at Unity.IL2CPP.GenericsCollection.GenericsCollector.MergeCollections(IEnumerable`1 collections)
    at Unity.IL2CPP.AssemblyConverter.Apply()
    at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies(IEnumerable`1 assemblyDirectories, IEnumerable`1 explicitAssemblies, NPath outputDir, NPath dataFolder, NPath symbolsFolder, NPath executableAssembiesFolder, NPath monoLibFolder, NPath monoEtcFolder, NPath[] searchDirectories, String entryAssemblyName, NPath[] extraTypesFiles)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
    at Program.Main(String[] args)
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    Can you provide a bug report with a project that causes this issue?
     
  3. Oscar-Tsang

    Oscar-Tsang

    Joined:
    Nov 7, 2012
    Posts:
    70
  4. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    sorry, this whole «build your game for macosx» is just a MESS....
     
  5. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    AMA_MR likes this.
  6. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    We get this when building for Macosx using unity 2018.2.13f1

    The Mono target is working the lL2CPP has problems..



    Undefined symbols for architecture x86_64:
    "_getUnityPurchasingAppReceipt", referenced from:
    _iOSStoreBindings_getUnityPurchasingAppReceipt_m4103466157 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_get_appReceipt_m2498480463 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_getUnityPurchasingAppReceipt_m643976844, _iOSStoreBindings_getUnityPurchasingAppReceipt_m4103466157 )
    "_unityPurchasingInterceptPromotionalPurchases", referenced from:
    _OSXStoreBindings_unityPurchasingInterceptPromotionalPurchases_m3411166610 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _OSXStoreBindings_InterceptPromotionalPurchases_m769580797 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_unityPurchasingInterceptPromotionalPurchases_m421098356 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_InterceptPromotionalPurchases_m2936449487 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingInterceptPromotionalPurchases_m3411166610, _iOSStoreBindings_unityPurchasingInterceptPromotionalPurchases_m421098356 )
    "_unityPurchasingRetrieveProducts", referenced from:
    _iOSStoreBindings_unityPurchasingRetrieveProducts_m1942317051 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_RetrieveProducts_m3230380609 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingRetrieveProducts_m689081799, _iOSStoreBindings_unityPurchasingRetrieveProducts_m1942317051 )
    "_unityPurchasingPurchase", referenced from:
    _iOSStoreBindings_unityPurchasingPurchase_m127163060 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_Purchase_m925077806 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingPurchase_m1987719083, _iOSStoreBindings_unityPurchasingPurchase_m127163060 )
    "_unityPurchasingRestoreTransactions", referenced from:
    _iOSStoreBindings_unityPurchasingRestoreTransactions_m2532953743 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_RestoreTransactions_m2847613056 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _iOSStoreBindings_unityPurchasingRestoreTransactions_m2532953743, _OSXStoreBindings_unityPurchasingRestoreTransactions_m3672818507 )
    "_setUnityPurchasingCallback", referenced from:
    _iOSStoreBindings_setUnityPurchasingCallback_m1482920455 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_SetUnityPurchasingCallback_m756868915 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_setUnityPurchasingCallback_m3551531614, _iOSStoreBindings_setUnityPurchasingCallback_m1482920455 )
    "_unityPurchasingAddTransactionObserver", referenced from:
    _iOSStoreBindings_unityPurchasingAddTransactionObserver_m463851353 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_AddTransactionObserver_m621098447 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _iOSStoreBindings_unityPurchasingAddTransactionObserver_m463851353, _OSXStoreBindings_unityPurchasingAddTransactionObserver_m1174623098 )
    "_unityPurchasingFinishTransaction", referenced from:
    _iOSStoreBindings_unityPurchasingFinishTransaction_m1779103950 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    _iOSStoreBindings_FinishTransaction_m601113037 in 93A3A5F1CB413CC3390DFF1FEF258106.o
    (maybe you meant: _OSXStoreBindings_unityPurchasingFinishTransaction_m3734261221, _iOSStoreBindings_unityPurchasingFinishTransaction_m1779103950 )
    ld: symbol(s) not found for architecture x86_64


    at Unity.IL2CPP.Building.CppProgramBuilder.PostprocessObjectFiles(HashSet`1 objectFiles, CppToolChainContext toolChainContext)
    at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    at il2cpp.Program.DoRun(String[] args)
    at il2cpp.Program.Run(String[] args)
    at il2cpp.Program.Main(String[] args)
     
  7. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    This error indicates that there is a native method named getUnityPurchasingAppReceipt which cannot be found. It sounds like the native library is not present. Is this library only makes sense for iOS, please make sure the C# code in iOSStoreBindings is not compiled for a macOS build.

    IL2CPP requires that all native libraries be present for the proper platform at build time, where Mono does not require this until run time.
     
  8. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    Unity IAP is causing this error.
    I am attaching you an empty project with ONLY the Unity IAP plugin inside.

    Try to build for MACOSX / IL2CPP and you will see this error
     

    Attached Files:

  9. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    I'd recommend submitting this project with a bug report via the Unity editor. Then the IAP team at Unity can let you know when it is corrected.
     
  10. jkampitakis

    jkampitakis

    Joined:
    Dec 27, 2015
    Posts:
    56
    Ok thank you.
     
  11. Oscar-Tsang

    Oscar-Tsang

    Joined:
    Nov 7, 2012
    Posts:
    70
    Still no one look at it..... Fail to submit to appstore. osx build is meaningless..
     
  12. AMA_MR

    AMA_MR

    Joined:
    Mar 23, 2018
    Posts:
    17
    Thanks Josh. Much obliged.
     
  13. sandeep1995

    sandeep1995

    Joined:
    May 2, 2015
    Posts:
    1
    I still can not make it work using `IL2CPP`

    Code (JavaScript):
    1. Failed running /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/build/il2cppcore/il2cppcore.dll --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release" --outputpath="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a/libil2cpp.so" --cachedirectory="/Users/sandeep/Projects/Pingo Jump/Assets/../Library/il2cpp_android_armeabi-v7a/il2cpp_cache" --additional-include-directories="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --directory="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput"
    2.  
    3. stdout:
    4. Building libil2cpp.so with AndroidToolChain
    5.     Output directory: /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/assets/bin/Data/Native/armeabi-v7a
    6.     Cache directory: /Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache
    7. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp:72:
    8. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/AtomicQueue.cpp:6:
    9. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps.h:121:
    10. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list
    11.        : "cc", "r2", "r3"
    12.                ^
    13. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    14.        : "cc", "memory", "r2", "r3"
    15.                          ^
    16. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    17.        : "cc", "memory", "r2", "r3"
    18.                          ^
    19. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    20.        : "cc", "memory", "r2", "r3"
    21.                          ^
    22. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    23.        : "cc", "memory", "r0", "r1", "r3"
    24.                          ^
    25. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    26.        : "cc", "memory", "r2", "r3"
    27.                          ^
    28. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    29.        : "cc", "memory", "r2", "r3"
    30.                          ^
    31. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    32.        : "cc", "memory", "r2", "r3"
    33.                          ^
    34. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    35.        : "cc", "memory", "r2", "r3"
    36.                          ^
    37. 9 errors generated.
    38.  
    39.  
    40. Invocation was: Executable: /Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
    41. Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/external/bdwgc/include" -I"." -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++abi/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/android/support/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot" -gcc-toolchain "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -isystem "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp" -o "/Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/895B4E5846F934E38A6570AE9F1AFF6D.o"
    42.  
    43.   at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    44.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    45.   at il2cpp.Program.DoRun(String[] args)
    46.   at il2cpp.Program.Run(String[] args)
    47.   at il2cpp.Program.Main(String[] args)
    48. stderr:
    49.  
    50. Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: In file included from /Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp:72:
    51. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/AtomicQueue.cpp:6:
    52. In file included from /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps.h:121:
    53. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:622:17: error: asm-specifier for input or output variable conflicts with asm clobber list
    54.        : "cc", "r2", "r3"
    55.                ^
    56. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:653:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    57.        : "cc", "memory", "r2", "r3"
    58.                          ^
    59. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:690:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    60.        : "cc", "memory", "r2", "r3"
    61.                          ^
    62. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:724:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    63.        : "cc", "memory", "r2", "r3"
    64.                          ^
    65. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:755:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    66.        : "cc", "memory", "r0", "r1", "r3"
    67.                          ^
    68. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:793:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    69.        : "cc", "memory", "r2", "r3"
    70.                          ^
    71. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:833:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    72.        : "cc", "memory", "r2", "r3"
    73.                          ^
    74. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:875:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    75.        : "cc", "memory", "r2", "r3"
    76.                          ^
    77. /Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp/os/Unity/ExtendedAtomicOps-arm.h:917:27: error: asm-specifier for input or output variable conflicts with asm clobber list
    78.        : "cc", "memory", "r2", "r3"
    79.                          ^
    80. 9 errors generated.
    81.  
    82.  
    83. Invocation was: Executable: /Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
    84. Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/libil2cpp" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/Unity.app/Contents/il2cpp/external/bdwgc/include" -I"." -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/cxx-stl/llvm-libc++abi/include" -I"/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sources/android/support/include" -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++98 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fPIC -Os --sysroot "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot" -gcc-toolchain "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64" -target armv7-none-linux-androideabi -isystem "/Applications/Unity/Hub/Editor/2019.1.9f1/PlaybackEngines/AndroidPlayer/NDK/sysroot/usr/include/arm-linux-androideabi" -D__ANDROID_API__=16 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "/Users/sandeep/Projects/Pingo Jump/Temp/StagingArea/Il2Cpp/il2cppOutput/lumpedcpp/Lump_libil2cpp_os.cpp" -o "/Users/sandeep/Projects/Pingo Jump/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/libil2cpp/895B4E5846F934E38A6570AE9F1AFF6D.o"
    85.  
    86.   at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    87.   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    88.   at il2cpp.Program.DoRun(String[] args)
    89.   at il2cpp.Program.Run(String[] args)
    90.   at il2cpp.Program.Main(String[] args)
    91.   at Program.Main(String[] args)
    92.  
    93. UnityEngine.Debug:LogError(Object)
    94. UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
    95. UnityEditorInternal.Runner:RunNetCoreProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:79)
    96. UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:494)
    97. UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    98. UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    99. UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:63)
    100. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    101.  
    102.  
     
  14. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    This error occurs because the x86 architecture is selected for Android. I suspect that you don't need to build for Android x86, so please disable that architecture in the Player Settings.
     
  15. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    31
    Can you help me please @JoshPeterson

    Failed running /Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/Unity.app/Contents/il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARM64" --configuration="Release" --outputpath="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Native/arm64-v8a/libil2cpp.so" --cachedirectory="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Assets/../Library/il2cpp_android_arm64-v8a/il2cpp_cache" --additional-include-directories="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/PlaybackEngines/AndroidPlayer/Tools/bdwgc/include" --additional-include-directories="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/PlaybackEngines/AndroidPlayer/Tools/libil2cpp/include" --tool-chain-path="/Users/mahmoud/Downloads/android-ndk-r13b" --map-file-parser="/Volumes/SDK/Applications/Unity 2017 LASTE RELEASE/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-UnityScript-firstpass.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Assembly-UnityScript.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Advertisements.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.Analytics.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/UnityEngine.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Firebase.App.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/Mono.Security.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/System.Core.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/System.dll" --assembly="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Managed/mscorlib.dll" --generatedcppdir="/Users/mahmoud/Desktop/نسخة ios/HumanPlantOnline 10.0.13/Temp/StagingArea/Il2Cpp/il2cppOutput"

    stdout:
    Building libil2cpp.so with AndroidToolChain.
    Output directory: /Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Temp/StagingArea/assets/bin/Data/Native/arm64-v8a
    Cache directory: /Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache
    ObjectFiles: 585 of which compiled: 18
    Time Compile: 13957 milliseconds Il2CppAttributes.cpp
    Time Compile: 8780 milliseconds Bulk_Generics_3.cpp
    Time Compile: 8193 milliseconds Bulk_Generics_5.cpp
    Time Compile: 7680 milliseconds Bulk_Generics_7.cpp
    Time Compile: 6839 milliseconds Bulk_Generics_2.cpp
    Time Compile: 6053 milliseconds Il2CppTypeDefinitions.cpp
    Time Compile: 5366 milliseconds Bulk_UnityEngine.Advertisements_0.cpp
    Time Compile: 4118 milliseconds Il2CppMetadataUsage.cpp
    Time Compile: 3023 milliseconds GenericMethods5.cpp
    Time Compile: 2416 milliseconds Il2CppMethodPointerTable.cpp
    Total compilation time: 14360 milliseconds.
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /Users/mahmoud/Downloads/android-ndk-r13b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ @"/var/folders/88/7116dgm933x0x08sklcxdxqw0000gp/T/tmp474c20.tmp" -o "/Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/linkresult_1C38141CEF34054DB4F48A6DA192C376/libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "/Users/mahmoud/Downloads/android-ndk-r13b/platforms/android-21/arch-arm64" -gcc-toolchain "/Users/mahmoud/Downloads/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64" -target aarch64-none-linux-android -Wl,--wrap,sigaction -L "/Users/mahmoud/Downloads/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a" -lgnustl_static -llog -Xlinker -Map="/Users/mahmoud/Desktop/???????? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/linkresult_1C38141CEF34054DB4F48A6DA192C376/libil2cpp.map" -rdynamic -fPIE -pie -fuse-ld=bfd

    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/7B63697664B75B0C8F1AB06AEC590482.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E122496ECCCD1597B16BA9F4E984A278.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/658BBBA0F9DA29FE699573B207AC9F5B.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/50E23764B423CEEC99335DA7569B52C1.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/57394F00A121839AC4600A4327D988E8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CF54EB7E1D20A029C0A7A02D9BB0D8BD.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/21A1322F403A1459A7113E5CCCAB8DF7.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/2DB316E2735A21E6867AD51E623DCBA9.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E9F241927639A44C02D4D642559A4EF8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/63B9C9395494B7090DEDE86AB753A192.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0A17D390B5A4F5EECFAFADFF82F36C2C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/9EE6079B362A8C8C2BD8928DB50341A5.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/9F1284386D7C0B01D790839DE4CBE647.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C8E194B1AE51A1DF3B4980B87E922686.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3D6B9E0D80D00E4FFB507419BAA665DC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3735B80F068879E1576720C9D90704C3.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3AA3464AF87B76AF657C87D32E113B9A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/8A2AD2FDF254DAADF5C0A18FE305BB55.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CD177DAA6452BC91D95B1390714FCBE8.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FFF92F8487CDA6DE5EC6F7935CE91B9E.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/B16899AF62DA5A114AAF1F654F8A0504.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/606F65785F54256F17CC2DDA29BD1697.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C11895FB17E40F68E7DF1778F245C6EA.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AD0075FF94F744D01BA722CE6C1B43B5.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/A38624A9DA115A0D7529A09F4C7F2963.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/99161CE902DF1D72825F3C4C1D809A0D.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D042F07EDA4E3E0D78673F3B39D7887D.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/BC67124A1CDD73113BB3CCCB00C7E677.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C664683E6ADCA672142E2ECA0BB1B2EB.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/60CB4EB4D8EA53DEFC684566B918F959.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/1DA16E58A6D06702179E89A07F30B289.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D12103545168D1E72B1C97EA26FC65E4.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/35044E72ED6669ABBFC32A23DCF01D00.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/51AC76759476E4F046C5ACB39A6A71D1.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E5BCEC36999E8ABC696E42FC5CF45098.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/97332478DAF0558947D0DDBFB803586A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/2C1EAFBEE6EEACD78FC50C9976B2CEBC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/366E34E9652210B83C056C8E7CF1DE1A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/B17FBA1F1FD620EF2CBF5134B65FB3BE.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/F605304178E6A9D54F5375D6A060E473.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/5DD3DF50B0A398F58B0B416A6E8895EF.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/09B52531F3E145ECE1D7522DDE50EC1A.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E42C4DF0CB7BF5C384F96F2C2B1D4E81.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AD9CF56645A606E71A87F41AE028CF47.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E1D4B2BF06128C2B3B1F2F32929AAA89.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/AEA59B38D19A0E52B87CCDC4A660834C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/15A95893A58154D26441D296A136194F.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FD059DB4FA158CD76F9554852DB336EC.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/4C78BE61E95940E392332CB18419E723.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/64BF6EAD5B4F4E36FA78EA8C65B5D37C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0B87C753BF4755FE9F7E4695797B2527.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/C719317893BD1E4D0E897E0971F8F099.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FDC4A3886D234BEDF3ADE54F9B18E2DD.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/DA5327C46E9907F39F2F5114F439B7A2.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/115455DFA2FE3FEC2404117EBDF02CA7.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/FAB15BD76AE73D854E0F5A3BC389B342.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/3E28E73D00F25C46ED4ADB0E86FBE809.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/E1799072AA7076B67FBC18FF51E43D7C.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/632A665CA2B87768DE6D2E8E054CEC39.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/A484A44F0173BC26FE87D92712A0F5D6.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/CE2024CAF4A96868BBB7385BDEAB3ABF.o'
    clang++: error: no such file or directory: '/Users/mahmoud/Desktop/???? ios/HumanPlantOnline 10.0.13/Library/il2cpp_android_arm64-v8a/il2cpp_cache/0941EE4BE07A3EF63<message truncated>
     
  16. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    3,784
    It looks like the local IL2CPP build cache is corrupt for some reason. Try deleting the Library/il2cpp_android_arm64-v8a folder in your project. That should cause the cache to be built again, so the next build of the player might take longer, but hopefully it will work.
     
  17. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    31
    @JoshPeterson
    thank you for help , i fixed my problem
    the problem happen because
    1 -path of my project name in arabic language
    2- there is space in project name .
     
    JoshPeterson likes this.
  18. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,620
    I get this error on BRAND NEW projects, regardless of settings/installs. Tested on 2019.1.8, 2019.1.9 and 2019.1.10, all installed since 2019.1.10's release.
    .8 and .9 worked fine previously, which leads me to believe the Android NDK/SDK have been updated centrally
     
  19. RGBTonyKol

    RGBTonyKol

    Joined:
    Oct 28, 2016
    Posts:
    7


    Join now. Previously, the project was going well. After updating to 2019.1.10, this error crashes.