I'm trying to enable push notification in Xcode 11.0. I have added push notifications form + capability but enable or disable button is not there.
For Xcode v11.2.1 at least the button to add capabilities is in the upper left corner. Once you add a new capabilitiy it's enabled by default. To disable, you delete the capability. See Screenshot for a little more detail. Capability SS
In Xcode 11 or above update some many things. For push notification enable and disable check the attack screen short.
On top Upper corner click on capability:
push notification when you click then automatically enable:
if you want disable then -> TARGETS -> Signing & Capabilities and scroll down click on cross for disable
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.