Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable push notification capability in xcode project?

Tags:

xcode

ios

I use a free Apple developer account, so no push notification support. So when I get an existing xcode project and try to run it on my phone, I get "Your development team, "xxx", does not support the Push Notifications capability."

But when I go to "Capabilities" tab, I don't see it there to disable (It said "10 capabilities Unavailable"). So I guess it hides them? But the project still require the capabilities somewhere?

So how do I disable the push notification capability of the project, so I can run it?

like image 851
Anh Pham Avatar asked Jun 15 '17 12:06

Anh Pham


People also ask

How do I turn off push notifications in Xcode?

You can disable push notifications on Android by going into the Settings > Notifications options. Similar to iOS, Android lets you turn off push notifications for individual apps or use a 'Do not disturb' mode.

How do I disable my push notifications?

To find your notifications, from the top of your phone screen, swipe down. Touch and hold the notification, and then tap Settings . Choose your settings: To turn off all notifications, turn off All notifications.


1 Answers

UPDATE: Thank KerimGökarslan for remind me that somebody can't see push notifications capability.

If your developer account doesn't have push notifications capability, you must clear current provisioning profile and certificate. Then you can disable it in capabilities tab.

enter image description here

Select capabilities tab of your target and turn off what you want. Make sure configuration of every target is changed.

enter image description here

like image 98
ooOlly Avatar answered Sep 20 '22 11:09

ooOlly