ios - No valid 'aps-environment' entitlement string found for application on app store -


so have app called dripper put out month ago , update couple days ago. update added push notifications , few little tweaks. tested sandbox-apn using development profile , things worked great. switched things production-apn , pushed test-flight, again things worked perfectly. once put update on market , ran noticed wasn’t getting new push registrations on server. looked @ console logs device , found this:

dec 4 17:55:15 ina-touch-it coffco[1210] : registering remote notifications
dec 4 17:55:15 ina-touch-it springboard[52] : no valid 'aps-environment' entitlement string found application 'dripper': (null). notifications not delivered.
dec 4 17:55:15 ina-touch-it coffco[1210] <warning>: failed register error : error domain=nscocoaerrordomain code=3000 "no valid 'aps-environment' entitlement string found application" userinfo=0x174270900 {nslocalizeddescription=no valid 'aps-environment' entitlement string found application}

i bit confused because thought production-apn function same between ad-hoc , app store builds.

here app id , entitlements -> http://i.stack.imgur.com/uf4pb.png

here provisioning profile apps store -> http://i.stack.imgur.com/ayov5.png

i fixed issue this:

  • go xcode "preferences"
  • go "accounts" tab
  • select apple id , click "view details"
  • click on arrow on bottom left corner refresh
  • click "done"

and try again!

source:


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -