Search code examples
delphiscriptingdelphi-xe5dwscript

Is DWScript compatible to create Delphi XE5 code for Android and IOs?


Can I use DWScript classes in a Delphi XE5 program to run under Android and/or IOs and make the scripting works?


Solution

  • No, Android and iOS compilers are not supported.

    There are a few issues that prevent that at the moment

    • I don't have access to those compilers
    • There were some dropped Delphi features (like UTF8String) and there are some architectural changes (like ARC) which could make the adaptation non-trivial
    • AFAIK the Apple licensing terms forbid use of 3rd party script engines in iOS, you're supposed to use the JavaScript one they provide, and only it.