Does it support ios with IL2CPP #7
-
Hi, does it support ios with IL2CPP, Unity 2017 doesn't support mono on ios now. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
As far as I know, the compatibility of DLLs shouldn't be effected by what scripting backend you use. This plugin should work on iOS. |
Beta Was this translation helpful? Give feedback.
-
Tested old version on iOS, il2cpp won't compile, with few modifications it compiled. |
Beta Was this translation helpful? Give feedback.
-
I fixed the compilation error you mentioned, but I wasn't able to reproduce your runtime error in the editor with the iOS platform selected. Does your runtime error happen on an iOS device? Can you give me a more detailed error? I'm also not sure what you're trying to say about dynamic typing not working with il2cpp because it's pure c++ and then saying that the solution lies in Bytecode Stripping. Could you please explain? As to answering the original question, you can use the latest version of the library and make a build for iOS with the IL2CPP scripting backend with no problem. I don't have an iOS device though, so I can't test if it actually runs. |
Beta Was this translation helpful? Give feedback.
-
Inside editor, only mono runtime is used. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I don't have a MacBook, so I can't run the simulator either. I won't be able to resolve this issue for the foreseeable future. |
Beta Was this translation helpful? Give feedback.
-
you don't need a mac to test, for il2cpp now supports many other platforms. |
Beta Was this translation helpful? Give feedback.
-
An interesting test could be to check if this runs on 2019.x IL2CPP for Android or WSA/Hololens... These are prob as bit less constrained than iOS and easier to test on Linux/Windows PCs |
Beta Was this translation helpful? Give feedback.
-
Perhaps. But, that sounds like a different issue and knowing the answer to that issue doesn't necessarily answer the question "does this work in iOS when you use the IL2CPP backend". |
Beta Was this translation helpful? Give feedback.
-
@exodrifter you are correct. But I was thinking it would answer to another point that was raised in the thread about the impossibility of running on IL2CPP (sorry for forgetting to make it explicit). |
Beta Was this translation helpful? Give feedback.
-
After doing more research and remembering that this issue is still open, there are two things that are very clear to me now:
So the answer is: No, it doesn't support iOS with the IL2CPP backend. I have updated the README accordingly in bb595d4. |
Beta Was this translation helpful? Give feedback.
After doing more research and remembering that this issue is still open, there are two things that are very clear to me now:
System.Reflection.Emit
to work and does not have support for IL2CPP compilation anyway (see IronLanguages/ironpython2#258)System.Reflection.Emit
on IL2CPP backends (source)So the answer is: No, it doesn't support iOS with the IL2CPP backend. I have updated the README accordingly in bb595d4.