Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Cross building for iOS

 

Before trying to cross build for iOS we strongly recommend that you succeed on building OpenJFX for OS X first.

...

Code Block
themeMidnight
$ gradle -PCOMPILE_TARGETS=ios -PUSE_LIPO=true -PIOS_VERSION=6.1

Get robovm-jfx78-compat project and build it

On the same directory where Calculator.zip was unzipped: 

Code Block
themeMidnight
$ git clone https://github.com/robovm/robovm-jfx78-compat
$ cd robovm-jfx78-compat
$ mvn install

 

 


Build the application code

 On the same directory where Calculator.zip was unzipped:

...

 

Code Block
themeMidnight
$ cd Calculator
$ ant

 

...

 

This will compile the java code to byte code, the then it will use RoboVM to compile the byte code to native code and finally it will run the application using iPad simulator.

...