Push certificate & Provisioning profile

Hi!


I'm facing an issue with one of my apps, regarding push notifications. Everything appears to be ok: I created the APNs certificates to my AppID and generated a new provisioning profile with that. When I try to send a push, it returns an error message, but only in production (we test with TestFlight), in development it works fine. We figured out, that I must have messed up something with the provisioning profile or with the push certificate. Is there any way to know where is the problem exactly?


Detailed description:

We tested this app with development certificates an provisioning profile, it worked fine. After that we submitted it for review, we received a message:


"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..."

My Entitlements.plist says : aps-environment - production.


We couldn't resolved the issue, because everything appears to be fine. Some screenshots can be found here (appId, cert, prov.prof,...):

https://drive.google.com/open?id=0B32JRGPmvkK-flZ3ajFmaFhON25QcjVjeG9OTHEzZjlaQ0VtdEJSWjlPZ3hrZzQxN0dINGs



We develop cross-platform (with Appcelerator Studio) and send push notifications via Appcelerator Cloud service (the p12 file is uploaded). The device subscription is always successful, but the push log returns an error(push_log.png).



According to the screenshot (Build settings.png) the app is built with the right profile and certificates. I've created these by these two guide:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html

http://docs.appcelerator.com/platform/latest/#!/guide/Configuring_push_services-section-37551713_Configuringpushservices-ConfiguringpushservicesforiOSdevices

Push certificate & Provisioning profile
 
 
Q