DMXzone Cordova Builder Support Product Page

The code generated by the extension is not iOS9 compatible

Asked 21 Sep 2015 23:14:02
1
has this question
21 Sep 2015 23:14:02 Brad Lawryk posted:
The app works fine in Dreamweaver Live View but in simulator and on device with iOS9 it does not work.

When doing the build in xCode 7 I get the following error:

/Applications/MAMP/htdocs/workBCApp2/platforms/ios/Work BC PG App/Classes/AppDelegate.m:138:1: Conflicting return type in implementation of 'application:supportedInterfaceOrientationsForWindow:': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned int')

and

/Applications/MAMP/htdocs/workBCApp2/platforms/ios/Work BC PG App/Classes/AppDelegate.m:138:1: Conflicting return type in implementation of 'application:supportedInterfaceOrientationsForWindow:': 'UIInterfaceOrientationMask' (aka 'enum UIInterfaceOrientationMask') vs 'NSUInteger' (aka 'unsigned long')

It worked fine until xCode7 upgrade

Reply to this topic