I'm experiencing the same thing. When I run the security cms -D -i /path/to/your.app/embedded.mobileprovision command I see
<key>Entitlements</key>
<dict>
<key>aps-environment</key>
<string>development</string>
...
However, running the codesign -d --entitlements - /path/to/your.app command, there is no aps-environment Key. Just to be sure I was looking for the right thing, I ran the code sign command on another app that has Push Notifications working, and the aps-environment Key is present there.
It seems that something in the build process is causing this issue. Now to dig into that to see if anything sticks out.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: