From: Kit <bro...@ya...> - 2011-07-02 05:02:18
|
Hello, I've been making a bunch of android apps and thought it would be nice to get on to the iPhone market but trying to learn IOS's objective c seems much more daunting a task then it was to learn Android's Java. plus I like the idea of having only one code base to do all the development work on so I'd give your thing a shot. I was able to download your stuff following the instructions in the manual.pdf file on your site. and when I ran ant on it like your guide said to do and it built properly. then I went to invoke it to cross compile a test android app I slapped together in eclipse for the iPhone. my command line java -Xmx256m -jar xmlvm.jar --in=/android/workspace/test --out=/Users/brownwolf_98/Documents/droid --target=iphone --iphone-app=hellotest at first I was getting tons of memory errors but after some research I discovered a way to allocate more memory to the java process; the -Xmx256m switch I put that on and then it built gave me a slew of warnings but it did say it built successfully. btw the path I put for in was the root folder of the eclipse project I had made. and the out was a random directory that was empty I was going to use the target android-on-iphone as when it was going though what each command like option did it said in addition to translating from java to iPhone it'll copy in the stuff needed to make android apps work but it didn't accept that argument so I settled for iphone. next I went into Xcode (I got the paid version 4) and created a new project like you asked using the default settings and deleted the files the pdf said to remove. there was no "project > Add to project" option or project menu that I could see. closet I could find is if I right clicked on the project i'd get a "add to <project name>" and so I added the stuff there got tons of errors, tried to do some guessing to move the files around got less errors. now it was down to basically saying it couldn't find a bunch of files I ran a search for said files found them in the folder I downloaded your source code in. and dumped everything in that directory into the supporting files folder. and tried to build again, well it spend much more time building and got up to 623 warnings before I got build failed and a whole bunch of errors. not sure what I'm doing wrong here and the test project I'm using is basically just a hello world one I can post the list of errors or send them to someplace if you wish but I'm unsure what to do from here. |