Following up - While the "Automatically manage signing" option is enabled in Xcode, I did have a provisioning profile for this app in developer.apple.com that was generated before I enabled Push Notifications. I deleted that profile and created a new one now that Push Notifications are part of the app, toggled Automatically manage signing off and then back on, and the next time I built the app, the aps-environment issue was resolved and a push token was available. Hmm.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: