No Push Notification Capability in Xcode
Asked Answered
K

6

51

I don't know why, but the option Push Notifications of Capabilities in Xcode is not displayed. Why?

I follow the developer guides, creating cers, enabling push in provisiong profiles, etc.

I had refreshed the account in Xcode preferences. What I am doing wrong?

xcode

Kernite answered 22/6, 2015 at 11:47 Comment(1)
#15426922Daglock
C
26

You need a apple account not free,Please see the picture:

enter image description here

Carloscarlota answered 5/11, 2016 at 7:34 Comment(0)
P
17

I was using the free developer's account and decided to upgrade to a paid 99 USD account. Because I was using free, the advanced capabilities did not display until I removed my account by clicking on the '-' and clicked on the '+' to re-add my account. Then all the capabilities appeared.

enter image description here

Psychogenic answered 22/5, 2018 at 19:0 Comment(0)
B
13

Try checking all the following.

  • Make sure Push notifications is turned on under developer.apple.com.
  • If yes, then make sure you are running the same provisioning profile and certificate.
  • Also in Xcode, under Project -> General -> Select the qualifying team.

This should work.

Blanks answered 19/4, 2016 at 0:7 Comment(0)
S
5

I had this problem because my Apple Developer membership was expired. Renew it and you are good to go.

Sangfroid answered 29/6, 2017 at 15:3 Comment(0)
L
3

This setting does not exist anymore. Just make sure that your App ID includes Push Notifications in the dev center.
Then, register for push notifications with

[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
        (UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

and you should be good to go.

Lambeth answered 22/6, 2015 at 12:29 Comment(0)
W
2

enter image description here

Has Push Notifications of Capabilities in Xcode7

Waly answered 27/11, 2015 at 8:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.