I have to upload newer version of my app which is compatible to iOS 8. When I am uploading the app from Xcode 6.1 (Not Beta) I am getting following error
Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK.
and when I am uploading the app with XCode 5.1.1 I am not able to use the following code for Push Notification.
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:(UIRemoteNotificationTypeBadge|UIRemoteNotificationTypeSound|UIRemoteNotificationTypeAlert) categories:nil];
[[UIApplication sharedApplication] registerUserNotificationSettings:settings];
[[UIApplication sharedApplication] registerForRemoteNotifications];