- Home /
Failed to load AOT module 'Assembly-CSharp' while running in aot-only mode because a dependency cannot be found or it is out of date.
I can build my app with Xcode to IOS platform. However, my app shuts down when it is on splash screen stage. The last log of Xcode before crush is that " Failed to load AOT module 'Assembly-CSharp' while running in aot-only mode because a dependency cannot be found or it is out of date. "
How can I fix it?
Thanks for all.
We had that problem a while ago. It Seemed that some sorts of c# dictionaries are not allowed in Ahead-of-time-compilation. In android (java, JIT) this IS allowed though. It had to do with declaring the types of the library on runtime, which is considered JIT-compiling...
$$anonymous$$aybe you ran into the same issue?
Answer by uboncukcu · Jan 22, 2015 at 11:49 PM
I have fixed the problem. The dll "LitJSON" is used in my project. I delete it and delete all scripts that use it. Now, it works fine in iOS :)
Your answer

Follow this Question
Related Questions
iOS 64-bit support for unity integrated application 0 Answers
iOS 8.1.3 - Upgrading to 4.5.5p5 causes App to crash when presenting render buffer 0 Answers
Runtime terrain loading, Partial terrain loding 1 Answer
Render HTML Content in Unity UI Mobile Platforms 0 Answers
Getting Error building Player: Exception: Invalid PBX project (parsing line 0) 0 Answers