No Push Notification Capability in Xcode

后端 未结 6 1363
抹茶落季
抹茶落季 2020-12-18 17: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 p

相关标签:
6条回答
  • 2020-12-18 18:06

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

    enter image description here

    0 讨论(0)
  • 2020-12-18 18:09

    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.

    0 讨论(0)
  • 2020-12-18 18:12

    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.

    0 讨论(0)
  • 2020-12-18 18:19

    Has Push Notifications of Capabilities in Xcode7

    0 讨论(0)
  • 2020-12-18 18:20

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

    0 讨论(0)
  • 2020-12-18 18:27

    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.

    0 讨论(0)
提交回复
热议问题