Code Signing Error: Provisioning profile - Packaging

you have to generate your certificate from your keychain.
Go to keychain access > certificate assistant > create a certificate authority

Then go back to your apple dev site and go from there

I also updated all my xcode and ios to make sure everything was the latest version and deleted the previous certificates