Which bit didn’t work?
I'm still getting the error that couldn't find any available provisioning profiles. I made sure that the new profile is linked with the same certificate that is on my mac device. I've also tried exporting the new profile and the private key to another mac and I'm getting the same results.