- Home /
Question by
Kevin Laity · Feb 26, 2010 at 10:00 PM ·
monocompiling
Does Unity always use Ahead-Of-Time compilation?
I understand that in order to use Mono on an iPhone, you must use Ahead-of-time (AOT) compilation instead of Just-in-time compilation (JIT), to get around Apple's restriction against including an interpreter or compiler inside your app. And apparently there are some restrictions involving generics when AOT is used.
Does Unity use AOT when compiling for other platforms?
Comment
Best Answer
Answer by Eric5h5 · Feb 26, 2010 at 10:24 PM
Unity only uses JIT when compiling for any other platform aside from the iPhone.
That's unfortunate because I can't easily find out what parts of my code might be incompatible until later when we're ready to port to iPhone