Provisioning profile doesn't include the aps-environment entitlement


#1

Every time I try to package my application, the build fails with the following output:

Check dependencies
Provisioning profile “…” doesn’t include the aps-environment entitlement.
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.2’

In XCode I’m able to build the application. Can someone please help me with this?


#2

How are you trying to “package” your application?
What is the exact command you are executing?


#3

is connected to Push. Which plugins have you installed for that?