How to regenerate Xcode managed provisioning profiles

from blog The Desolation of Blog, | ↗ original
This is a follow-up to my article Check your App IDs for unused capabilities. The other day I was about to upload a new build of StopTheMadness to App Store Connect, but at the last minute I noticed that the build still had the Game Center entitlement, even though I had already removed the entitlement from my AppID. Where was it coming from?...