Remove all accounts from Xcode settings, then add your admin account that is a developer account you have been using. The error will disappear.
Post
Replies
Boosts
Views
Activity
You must ensure all signing identifier are same.
Restarting my iPhone fixed this right away for me.
IOS 15.1
Restart your mac worked for me
Try use productid instead of com.yourcompanyname.yourappname.productid