Meet same Issue on one mac, but ok on another mac.
I’m sure bundle ID is fine and unique.
I know it is provisioning profile issue, so
Try refreshing the provisioning profile on your Local computer.
Then It Works!
cd ~/Library/MobileDevice/Provisioning\ Profilesrm *- Xcode > Preferences… > Accounts > click your Account and Team name > click
Download Manual Profiles - Run app again