Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help with Push Notification Entitlement

Hello!

If we understand correctly your app doesn't use push notification. Perhaps while creating provisioning profile you have set Identifiers with push notification specified. Please ensure provisioning profile isn't created for app with push.

mikeman
Posts: 0
Joined: Thu Jan 09, 2014 5:00 pm

Please help with Push Notification Entitlement

My app does not use Push Notification
My App ID or Provision Profile has Push Notification Disabled

So why App Store keep saying that I still have Push NOtification?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Please help with Push Notification Entitlement

Hi Mike,

What is in your file 'app-Prefix.pch'?

Should be null, as here:pre...
// Define using of PushNotification plugin
#if 0
#define USE_PUSH_NOTIFICATION_PLUGIN
#endif/pre

mikeman
Posts: 0
Joined: Thu Jan 09, 2014 5:00 pm

Please help with Push Notification Entitlement

This is what is in my app-Prefix.pch

code
//
// Prefix header for all source files.
//

#import <Availability&#46;h>

#define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
#define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)

#ifndef __IPHONE_3_0
#warning "This project uses features only available in iPhone SDK 3&#46;0 and later&#46;"
#endif

#ifdef OBJC
#import <UIKit/UIKit&#46;h>
#import <Foundation/Foundation&#46;h>
#endif

&#47;&#47; Define using of PushNotification plugin
#if 0
#define USE_PUSH_NOTIFICATION_PLUGIN
#endif

/code

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Please help with Push Notification Entitlement

Mike,

Please share your application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

mikeman
Posts: 0
Joined: Thu Jan 09, 2014 5:00 pm

Please help with Push Notification Entitlement

Katya,

My app has been shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help with Push Notification Entitlement

Hello!
Could you remind app name?

mikeman
Posts: 0
Joined: Thu Jan 09, 2014 5:00 pm

Please help with Push Notification Entitlement

The app name is MIAYAQ-iOS

This is regarding to this issue:

Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Please help with Push Notification Entitlement

Could you clarify do you build .ipa file through Appery.io?

mikeman
Posts: 0
Joined: Thu Jan 09, 2014 5:00 pm

Please help with Push Notification Entitlement

Yes, i build .ipa through Appery.io via the Export feature on top of the page

Return to “Issues”