Hello,
We got alot of native code written in C++ which we build into an .so and then a C#-wrapper .dll ontop of it to use it in Unity. This works fine for Android.
However when trying it for iOs it fails. The AOT Cross Compiler throws errors on our C# wrapper.
It says “result file exists: false” I assume it cannot find wrapper_dotnet.dll… but I have placed it inside Plugins/iOS/, just like I placed it in Plugins/Android/ when compiling for android. Why is this?
Cross compilation job wrapper_dotnet.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/BuildTargetTools/iPhonePlayer/mono-xcompiler --aot=full,asmonly,nodebug,ficall,static,outfile=“wrapper_dotnet.dll.s” “wrapper_dotnet.dll” current dir : /Users/johanjons/Desktop/SVN/trunk/TestGame/Temp/StagingArea/Data/Managed
result file exists: False
stdout: Mono Ahead of Time compiler - compiling assembly /Users/johanjons/Desktop/SVN/trunk/TestGame/Temp/StagingArea/Data/Managed/wrapper_dotnet.dllThe class System.Configuration.ApplicationSettingsBase could not be loaded, used in System, Version=2.0.0.0, Culture=neutral,