From: Jeff N. <not...@gm...> - 2009-10-08 02:23:27
|
On Wed, Oct 7, 2009 at 12:30 PM, Jeff Norman <not...@gm...>wrote: > > Ah, i should have been able to figure that one out for myself... gotta > overcome my fear of obj-c, eh? ;) Okay, so I've got passed that error. I > actually did it two ways, first by removing the relevant line from the Java > source before compiling, and then (partially to get into the obj-c code a > bit) by adding a simple setProperty method to the xmlvm iPhone compatibility > library -- bam, now the Java code doesn't need to be modified to run with > setProperty calls present. > > Unfortunately, I have run into another problem that following through the > obj-c source doesn't seem to be helping me with. In fact, the same problem > appears to happens on all "iPhone-only" apps (iFireworks, iRemote, NeHe4) > with the exception of iHelloWorld (which runs fine). None of the Android > cross-compiled versions of the apps have this problem. > > I've included the crash reports below. Does anyone have any hints? > > Solved my own problem. Looks like all I needed to do was change the Makefile to reference version 3.1 of the iPhone SDK (the one I have installed) instead of version 3.0: --- Makefile 2009-10-07 22:19:42.000000000 -0400 +++ Makefile 2009-10-07 22:20:08.000000000 -0400 @@ -22,7 +22,7 @@ CFLAGS=-x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 \ -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type \ -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 \ - -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk \ + -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk \ -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 \ -I. @@ -30,7 +30,7 @@ LD=$(CC) LDFLAGS=-arch i386 \ - -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk \ + -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk \ -mmacosx-version-min=10.5 \ -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore \ -framework AVFoundation -framework OpenGLES |