SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

use of undeclared identifier 'UIUserNotificationSettings'

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

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

use of undeclared identifier 'UIUserNotificationSettings'

BTW - I'm using Xcode 5.1.1

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

use of undeclared identifier 'UIUserNotificationSettings'

Hello Steve,

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

SteveLacy
Posts: 6
Joined: Fri Apr 20, 2012 11:54 pm

use of undeclared identifier 'UIUserNotificationSettings'

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

use of undeclared identifier 'UIUserNotificationSettings'

Hi Steve,

Glad it works.

Thanks for this update.

Regards.

Return to “Issues”