Tuesday, February 21, 2012

PhoneGap 1.4.1 Does Not Support iOS 3.x.x Anymore?


I have discovered after half a day of testing and frustration that the latest version of PhoneGap does not support iOS 3 devices anymore. The minimum version appears to be iOS 4. The simulator works fine, but when I try to load the out of the box PhoneGap app on a device I get a crash in AppDelegate.m




CGRect viewBounds = [[UIScreen mainScreen] applicationFrame];

self.viewController = [[[MainViewController alloc] init] autorelease];// Crash on this line
self.viewController.useSplashScreen = YES;



The error is "Programme received signal: "EXC_BAD_ACCESS".



iOS 4 devices work fine!



The problem is easy to replicate - just setup a default PhoneGap 1.4.1 project and try to run it on an iOS 3 device.



I am not too concerned as I think about 93% of iPad users use iOS 4 or 5 now, but it is a shame for the other 7%...



Has anyone else had this problem and found a solution???



Cheers



Nick.

1 comment:

  1. I am having the exact same problem. Did you ever get it resolved?

    ReplyDelete