After trying a few things, this is what worked for me:
- Just before uploading your executable, validate it, you then have a modal where you get to pick your binary. On the right, there's the name of the provisioning profile used. There's an arrow next to it.
- Click on the arrow which opens the finder to the location of the provisioning profile.
- Delete this file.
- Restart XCode
- Clean
- Rebuild/Archive
- Upload