I've searched on Google and Stack Overflow, but I'm unable to resolve this problem.
My app has an AdHoc and Appstore provisioning profiles, both of which are giving the error "no valid 'aps-environment' entitlement string found for application" in my X Code console, and I'm unable to send push notifications. So far the steps I've taken are: - edited profile in development portal, downloaded new profile and inspected the .mobliprovision file. Found
aps-environment: production get-task-allow : false
I submitted it to the App store anyway, and it passed validation and it is awaiting review. When I inspect the binary detail in iTunes Connect portal, I can ses that aps-environment is listed as "production" as well
What could I be doing wrong?