How to disable Push Notifications capability in iOS build made by Unity 2018.2.0f3

In Unity 2018.2.0f3 is enabled by default Push Notifications capability. It broke Unity Cloud Build because I’m using Wildcard App ID to make AdHoc builds and I can’t activate Push Notifications for wildcard. PBXProject class and ProjectCapabilityManager class allow me only add capability. How can I disable Push Notifications?

find the “xxx.entitlements” file in your Xcode project
remove the key “aps-environment”