Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable push notification in Xcode 11?

Tags:

xcode11

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.

screenshot of capabilities

like image 967
Suresh Rewar Avatar asked Oct 17 '19 08:10

Suresh Rewar


2 Answers

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

like image 191
ballercoder1 Avatar answered Jan 04 '23 10:01

ballercoder1


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:

On top Upper corner click on capability

push notification when you click then automatically enable:

The other pic show push notification when you click then automatically enable

if you want disable then -> TARGETS -> Signing & Capabilities and scroll down click on cross for disable

like image 43
Tayyab Raza Avatar answered Jan 04 '23 11:01

Tayyab Raza