Hello. I have next error when i try to build my game to iOS platform:
Cross compilation job Assembly-CSharp-firstpass.dll failed.
UnityEngine.UnityException: Failed AOT cross compiler: /Applications/Unity/Unity.app/Contents/BuildTargetTools/iPhonePlayer/mono-xcompiler --aot=full,asmonly,nodebug,static,outfile=“Assembly-CSharp-firstpass.dll.s” “Assembly-CSharp-firstpass.dll” current dir : /Users/maxflomaster/SHOOTER/Shooter-1/unityproject/Temp/StagingArea/Data/Managed
result file exists: False
stdout: Mono Ahead of Time compiler - compiling assembly /Users/maxflomaster/SHOOTER/Shooter-1/unityproject/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dllThe class JsonFx.Json.JsonConverter could not be loaded, used in JsonFx.Json, Version=1.4.1003.3007, Culture=neutral, PublicKeyToken=nullFailed to load method 0x6000008 from ‘/Users/maxflomaster/SHOOTER/Shooter-1/unityproject/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll’.
stderr:
at UnityEditor.MonoProcessUtility.RunMonoProcess (System.Diagnostics.Process process, System.String name, System.String resultingFile) [0x00000] in :0
at UnityEditor.MonoCrossCompile.CrossCompileAOT (BuildTarget target, System.String crossCompilerAbsolutePath, System.String assembliesAbsoluteDirectory, CrossCompileOptions crossCompileOptions, System.String input, System.String output, System.String additionalOptions) [0x00000] in :0
at UnityEditor.MonoCrossCompile+JobCompileAOT.ThreadPoolCallback (System.Object threadContext) [0x00000] in :0
UnityEditor.HostView:OnGUI()
I read Deploying for iphone post in documentation and see thread in old forum, but it’s not help. Maybe i miss something?