From: Panayotis K. <pan...@pa...> - 2011-02-13 16:14:57
|
On Feb 13, 2011, at 4:37 PM, Miggi wrote: > Hi there > > I've some problems with cross-compiling Java-files into Objective-C. > When I tried it, I got a .h and .m for every .class file. That's ok. But > when I tried to build it in Xcode, I got several errors because things > like java.lang.Object or java.lang.String couldn't be found. What did I > wrong that such simple and basic classes weren't found? > > The way I've cross-compiled the classes were: > java -jar <path to xmlvm.jar> --in=<path to folder with java-files> > --out=<path to an empty folder> --target=objc > > Do I have to add something? Or isn't it possible to copy the resulting > files in an empty Xcode-project and to build it? > > Thanks for your answers. > > Miggi I believe if you have a look at the documentation http://www.xmlvm.org/documentation/ you will be able to solve your problem. |