This seems to be a Xcode bug. Does anyone have a workaround?
For your develoepr account, you must enable APNS in application identifiers. Check out the screenshot.
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
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.
Import profile profile: Project file => Signing (Debug) => Provisioning profile => Import profile => Select file from 1
Source: https://habr.com/ru/post/1270102/More articles:Why does this change affect the outcome when even VS claims to be redundant? - floating-pointIn Python, how can I iterate over all regular expression matches in a string? - pythonAdd the Push Notifications function to the error of your application identifier - iosHack: Duplicates in java.util.TreeSet? - javaReport error in step: add the Push Notifications function to your application identifier - iosCount the number of tails since the last head - pythonError installing Sass - sassTypeScript: how to work with generic types and the keyof operator - genericsPrevent closing JavaScript from inheritance - javascriptJavaScript isolated execution context - javascriptAll Articles