Reputation: 3450
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?
Upvotes: 51
Views: 53654
Reputation: 19928
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.
Upvotes: 18
Reputation: 5195
I had this problem because my Apple Developer membership was expired. Renew it and you are good to go.
Upvotes: 5
Reputation: 529
Try checking all the following.
This should work.
Upvotes: 13
Reputation: 7876
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.
Upvotes: 3