I am trying to cross compile an existing android app for use on iphone, but when I try to invoke xmlvm using the command line argument --target=android-on-iphone I get the following error message:
[06/15/12 13:30:35.075] ERROR: Targets: Could not find target by name: android-on-iphone
Error: Unkown target: android-on-iphone
Usage:
xmlvm [--in=<path> [--out=<dir>]]
[--deps=<dep1,dep2,...>]
[--target=[xmlvm|dexmlvm|jvm|clr|dfa|class|exe|dex|js|java|c|python|objc|iphone|qooxdoo|vtable|webos|csharp]]
[--skeleton=<type>]
[--lib=<name>
[--app-name=<app-name>]
[--resource=<path>]
[--qx-main=<main-class> [--qx-debug]]
[--debug=[none|error|warning|all]]
[--version] [--help]
If I use the argument --target=iphone it will run properly and I get a sensible output which i can open with xCode, but the new xCode project will not build, it shows a few hundred errors which mostly seem to relate to the android compatibility file being missing.
so my questions are:
1. has the target argument --target=android-on-iphone been implemented yet? and if so do you know why it might not be available to me when i try to run?
2. Is there any way I can manually add the compatibility file to the output, and if so-
- Where can i find the android compatibility file; and
- Where would I put it?
Any help with this problem would be greatly appreciated, and thank you for the generosity of providing this code to us as an open source project,
Sam.
I'm having the same problem. Have you ever solved this?
I had a local copy of the SVN repo from 20-10-2011 and the android-on-iphone target argument worked in that version. Does anyone know in which revision it was removed?