I've googled for hours and I still haven't found a solution. Fresh reinstall doesn't do the trick either.
I installed the newest version of both Unity and NGUI, trying to compile a simple NGUI test menu to send it to my iPad. Whenever NGUI is in the project (no other plugins or files), and it starts compiling, I get the following error:
Cross compilation job Assembly-CSharp.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.dll.s" "Assembly-CSharp.dll" current dir
: /Users
/Fries
/New Unity Project
/Temp
/StagingArea
/Data
/Managed
result file exists: False
stdout
: Mono Ahead of Time compiler
- compiling assembly
/Users
/Fries
/New Unity Project
/Temp
/StagingArea
/Data
/Managed
/Assembly
-CSharp
.dllThe following assembly referenced
from /Users
/Fries
/New Unity Project
/Temp
/StagingArea
/Data
/Managed
/Assembly
-CSharp
.dll could not be loaded
: Assembly
: Assembly
-CSharp
-firstpass
(assemblyref_index
=2) Version
: 0
.0
.0
.0
Public Key
: (none
)The assembly was not found
in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or
in the location of the executing assembly
(/Users
/Fries
/New Unity Project
/Temp
/StagingArea
/Data
/Managed
/).Could not load file or assembly
'Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies
.Failed to load method 0x600001f
from '/Users/Fries/New Unity Project/Temp/StagingArea/Data/Managed/Assembly-CSharp.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.MonoCrossCompile:CrossCompileAOTDirectoryParallel(BuildTarget, CrossCompileOptions, String, String, String)
PostProcessiPhonePlayer:PostProcess(BuildTarget, String, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry)
UnityEditor.HostView:OnGUI()
I've uploaded my project files here:
http://www.mediafire.com/?cj9oofwk7tktwa2I've tried everything. Any help would be much appreciated, it's driving me pretty crazy!