I\'ve read Where does xcode take application's Identifier from? , XCode bundle identifier formatting from {PRODUCT_NAME} , and loads more but...
I\'m trying to g
In my case, the solution for this error turned out to be simple after hours of tinkering with certificates...
In the Capabilities tab of the project configuration, I had to enable the Push Notification flag in order for the environment files to be generated.
Capabilities
Push Notification
macOS Sierra 10.12 - Xcode 8.1