Go to App Target -> Signing and capabilities -> uncheck and again check on "automatically manage signing" option.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: