Page 2 of 3

Please help with Push Notification Entitlement

Posted: Tue Apr 08, 2014 12:18 pm
by Maryna Brodina

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.


Please help with Push Notification Entitlement

Posted: Tue Apr 08, 2014 2:57 pm
by mikeman

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?


Please help with Push Notification Entitlement

Posted: Tue Apr 08, 2014 4:19 pm
by Kateryna Grynko

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


Please help with Push Notification Entitlement

Posted: Tue Apr 08, 2014 6:26 pm
by mikeman

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


Please help with Push Notification Entitlement

Posted: Tue Apr 08, 2014 7:19 pm
by Kateryna Grynko

Mike,

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


Please help with Push Notification Entitlement

Posted: Wed Apr 09, 2014 2:20 am
by mikeman

Katya,

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

Thanks


Please help with Push Notification Entitlement

Posted: Wed Apr 09, 2014 10:41 am
by Maryna Brodina

Hello!
Could you remind app name?


Please help with Push Notification Entitlement

Posted: Wed Apr 09, 2014 1:39 pm
by mikeman

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.


Please help with Push Notification Entitlement

Posted: Wed Apr 09, 2014 2:32 pm
by Maryna Brodina

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


Please help with Push Notification Entitlement

Posted: Wed Apr 09, 2014 2:33 pm
by mikeman

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