I am getting the
"xcode could not find a valid private-key certificate pair for this profile in your keychain"

error when trying to run an app on a device. I have moved to a new machine since I signed up but just downloaded certificate which appears in Keychain Access app to be correct. What would be the best way to troubleshoot? Is there a way to see a log of what Xcode / device / Keychain are trying to do and the error thrown? The user experience for this is honestly terrible (esp for something you pay for).
If you are using a new machine you need to generate a new certificate and upload to provisioning portal or get your old generated certificate.