- Home /
What C# packages should be avoided to avoid JIT compile errors on iOS
I know that iOS uses an AOT compiler rather than a JIT compiler like other Unity target platforms. I also know that this causes a problem with certain C# packages (if that's even the right term). Notably System.Reflection.Emit will not work on a JIT platform.
Are there any other packages that should be avoided if I intend to have iOS as a target platform?
Comment
I hate this problem - because I don't know enough about .Net !!
One small point !!!
Often your problem is actually a very simple quasi-syntax error.....
This one held me up for days ... I accidentally had ToString ins$$anonymous$$d of ToString() in a couple of places.
Essentially tat sort of thing will work in the editor, etc, but not in iOS. I'm sure it won't help, but there it is.