Xcode 8.0 "add a Push Notif (..) warning in your application id" but already added

  • I have Xcode managing configuration profiles (automatic tuning recommended)
  • My app id already contains Push
  • When I launch Xcode, it shows the capabilities of Push with checkmarks, as if everything was fine
  • When I register a device token and click on a message, I get a notRegistered response from GCM. But when I update profiles
    Settings> Profile> View Details> Download All Profiles Above | said flag turns into a red warning sign.

This seems to be a Xcode bug. Does anyone have a workaround?

enter image description here

+1
source share
3 answers

For your develoepr account, you must enable APNS in application identifiers. Check out the screenshot.

enter image description here

+1
source

link to this link

https://forums.developer.apple.com/thread/68101

when you create a distribution certificate, for this you need to enable the news notification function for your application.

sorry for my English

0
source

Try restarting Xcode. If this does not work, follow these steps:

You need to upload a profile:

1) Go to https://developer.apple.com/account/ios/profile/limited/ Select a project => edit => Certificates => Select All => Create => Download

or if you already have a profile

Go to https://developer.apple.com/account/ios/profile/limited/ Select a project => Change => Create => Download

2) In Xcode: Unclick Automatically manage signing.

enter image description here

Import profile profile: Project file => Signing (Debug) => Provisioning profile => Import profile => Select file from 1

0
source

Source: https://habr.com/ru/post/1270102/


All Articles