Python-To-Unity-Integration icon indicating copy to clipboard operation
Python-To-Unity-Integration copied to clipboard

iOS support

Open sekkit opened this issue 6 years ago • 3 comments
trafficstars

Does it support iOS il2cpp now?

sekkit avatar Jan 25 '19 14:01 sekkit

Sorry, I don't have mac and can't really tell. But it's based on IronPython so if the latest version does, you could just replace libraries and check it out.

AlexLemminG avatar Jan 27 '19 01:01 AlexLemminG

Already checked out long time ago. The refection code/ dynamic type features are forbidden in Unity's il2cpp AOT. I think it needs some modification in terms of type generation, then it's gonna work.

sekkit avatar Feb 08 '19 10:02 sekkit

It's more practical to move to cPython's iOS build, glue the Unity's API to cPython just like what ulua/slua did. IronPython is limited in it's implementation relying on DLR feature which is incompatible with il2cpp. https://github.com/pybee/Python-Apple-support

sekkit avatar Feb 08 '19 10:02 sekkit