Home
> Uncategorized > iOS6 support for PhoneGap 0.9.4
iOS6 support for PhoneGap 0.9.4
After 1st May 2013, Apple has begun enforcing iOS6 support, and effectively outlawed access to methods that access device UDID, for security reasons.
However, if your application is based on PhoneGap, and even if you do not access the device UDID via javascript, since the underlying PhoneGap library accesses the UDID, then Apple will reject the application. Now, the solution is to either upgrade to the latest version of PhoneGap – or a one line change 🙂
Double click on PhoneGapLib.xcodeProj then open the PhoneGapDelegate.m file, then scroll down to
– (NSDictionary*) deviceProperties
Then comment out the line
//[devProps setObject:[device uniqueIdentifier] forKey:@”uuid”];
Save the file, and then recompile your application. No more error!
Categories: Uncategorized
In later versions of phonegap you will also need to comment out the same line in pgviewcontroller.m
LikeLike