I'm using APP42 API (3.2.1) and Unity 5.0.0f4.
When I compile with mono (2.x), it fails with following error.
Cross compilation job App42_Unity3D_SDK_3.2.1.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/PlaybackEngines/iossupport/Tools/OSX/mono-xcompiler-wrapper.sh --aot=full,asmonly,nodebug,static,outfile="App42_Unity3D_SDK_3.2.1.dll.s" "App42_Unity3D_SDK_3.2.1.dll" current dir : /Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed
result file exists: True. Timed out: False
stdout:
Mono Ahead of Time compiler - compiling assembly /Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed/App42_Unity3D_SDK_3.2.1.dll
Missing method UnityEngine.WWWForm::get_headers() in assembly /Users/xxx/New Unity Project
When I play in editor, it shows following error on the method uploadService.UploadFileForUser().
Missing method UnityEngine.WWWForm::get_headers() in assembly /Users/xxx/New Unity Project
Also it fails with
Failed running /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe -out "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed" -l none -c link -x "/Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml" -f "/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors" -x "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -d "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed" -a "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" -a "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" -a "/Users/xxx/New Unity Project 15/Temp/StagingArea/Data/Managed/App42_Unity3D_SDK_3.2.1.dll"
Did I missed any configuration? Or app42 API sdk isn't compatibility with Unity 5 (ios)? If yes, when will be compatibility with Unity 5 and 64 bit?
For android it builds without problem.
Thanks in advance,
MGs