48

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

Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
Víctor Martín
  • 3,352
  • 7
  • 48
  • 94
  • http://stackoverflow.com/questions/15426422/how-to-update-provisioning-profile-for-push-notification-ios –  Jun 22 '15 at 11:53

6 Answers6

24

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

enter image description here

ChrisB
  • 2,497
  • 2
  • 24
  • 43
RadicalPotato
  • 249
  • 2
  • 3
15

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

Simon
  • 19,658
  • 27
  • 149
  • 217
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.

shyamsundar1988
  • 529
  • 4
  • 14
5

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

Borzh
  • 5,069
  • 2
  • 48
  • 64
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.

Quentin Hayot
  • 7,786
  • 6
  • 45
  • 62
2

enter image description here

Has Push Notifications of Capabilities in Xcode7

Rain
  • 320
  • 2
  • 7