From: Miggi <mig...@go...> - 2011-02-13 14:37:38
|
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 |