My app configured with Development SSL Certificate and it enabled to use the Push Notification development environment.
But after I had created a Distribution SSL Certificate to app ID then created the Distribution Provisioning Profile and exported the application as an Ad Hoc Deployment.
I received this error " no valid 'aps-environment' entitlement string found for application".
I checked the mobileprovisioning and found that "aps-environment" string already have been set to "production".
I have recreated all certificates for several times and still I have the same error .what can I do??