From: <Zor...@gm...> - 2010-03-26 12:50:50
|
Arno, thanks a lot! Now, that helped a little bit already: knowing that opening the project in Xcode directly, without doing the steps mentioned in the documentation is good! Sadly, the result I get is identical to what I got when running "make" yesterday: the application starts (within the iPhone simulator), but closes immediately before displaying anything. I assume this is the behavior of a crashing application...? Now, in your talk you mention that whenever something goes wrong with a cross-compiled application after successfull cross-compilation, it must be a bug in xmlvm, not generating the correct code. But could it be that a simple app SayHello cannot be correctly ported? I did not want to go into tracing the resulting Xcode program and as I am not familiar with ObjC (yet) that does not sound like a good option. I checked out the trunk of xmlvm's svn repository - is that correct? Or is that a not-so-stable version? Thanks so far!!! Helped a little bit already! :-) Regards, Olaf > > Olaf, > > there is sadly not much documentation and the little bit we do have is > outdated. It seems that you managed to check out XMLVM and to compile > it. If there is no error when invoking 'ant', you will have compiled > XMLVM as well as all the demos. If you would like to see how to > cross-compile SayHello, I would suggest you take a look at build.xml. > > XMLVM generates a ready-to-use Xcode project file. All the steps > mentioned in the documentation are not needed anymore. After you run > ant, simply do 'open > dist/demo/android/sayhello/iphone/SayHello.xcodeproj'. That's it! > > Arno |