Page 1 of 1

use of undeclared identifier 'UIUserNotificationSettings'

Posted: Wed Nov 26, 2014 9:31 pm
by SteveLacy

I am attempting to push an update of my existing app to the Apple App Store. I export the Xcode from Appery and upon compiling in Xcode, I get the error "use of undeclared identifier 'UIUserNotificationSettings', as well as the error "no visible @interface for 'UIApplication' declares the selector 'registerForRemoteNotifications'".

I'm using the Appery library version 2.1.

The app won't compile, so I'm unable to submit my app update. Any help is greatly appreciated.

Thanks,

Steve
Image


use of undeclared identifier 'UIUserNotificationSettings'

Posted: Wed Nov 26, 2014 9:33 pm
by SteveLacy

BTW - I'm using Xcode 5.1.1


use of undeclared identifier 'UIUserNotificationSettings'

Posted: Wed Nov 26, 2014 9:49 pm
by Evgene Karachevtsev

Hello Steve,

We support only xCode 6 and higher, so you should upgrade it.


use of undeclared identifier 'UIUserNotificationSettings'

Posted: Wed Nov 26, 2014 11:28 pm
by SteveLacy

I upgraded and that solved the problem. I was gun-shy to upgrade to Xcode version 6 since the reviews were so bad. But the upgrade did solve the problem.

Thanks!

Steve


use of undeclared identifier 'UIUserNotificationSettings'

Posted: Thu Nov 27, 2014 4:36 am
by Yurii Orishchuk

Hi Steve,

Glad it works.

Thanks for this update.

Regards.