I had Unity 3D code created in Unity 4.3, that I imported to Unity 5 in order to support arm64 archtecture for iOS. After switching from Mono to IL2CPP backend scripting and exporting code for iOS, I am errors of Undefined symbols for many unity based files. It was working fine in Mono.
I am beginner in Unity. Is there any change in Unity code is needed to migrate from Mono to IL2CPP? If Yes, share some useful codes and links.
Following are some errors and please see ScreenShot for more info :
“_UnityGetDataContextEAGL”, referenced from:
ContextGLES::Create(int) in libiPhone-lib-il2cpp-dev.a(ContextGLES.o)
“_UnityInitMainScreenRenderingCallback”, referenced from:
ContextGLES::Create(int) in libiPhone-lib-il2cpp-dev.a(ContextGLES.o)
CreateMetalGfxDevice() in libiPhone-lib-il2cpp-dev.a(GfxDeviceMetal.o)
“_UnityGetMetalCommandQueue”, referenced from:
metal::StartFrameRendering() in libiPhone-lib-il2cpp-dev.a(FrameBufferMetal.o)
“_UnityGfxInitedCallback”, referenced from:
_UnityInitApplicationGraphics in libiPhone-lib-il2cpp-dev.a(LibEntryPoint.o)
“_mono_domain_assembly_open”, referenced from:
pluginInit() in UnityCallBack.o
“_mono_assembly_get_image”, referenced from:
pluginInit() in UnityCallBack.o
“_UnityGetMetalBundle”, referenced from:
_CreateRenderingSurfaceMTL in MetalHelper.o
_CreateSharedDepthbufferMTL in MetalHelper.o
InitMetalSupport() in libiPhone-lib-il2cpp-dev.a(MetalSupport.o)
“_mono_method_desc_new”, referenced from:
pluginInit() in UnityCallBack.o
“_mono_method_desc_search_in_image”, referenced from:
pluginInit() in UnityCallBack.o
“_mono_domain_get”, referenced from:
pluginInit() in UnityCallBack.o