So I'm not super familiar with setting up the provisioning profiles and CSR for iPad development. I joined a new company trying to do this and the iMac I'm using used to belong to someone else (not sure if that matters). I don't know if he ever tested on the device or not. They gave me access to the iOS developer site. I received my CSR through the website and installed it in keychain. In My Certificates, I do see my new certificate and it is green and says Certificate valid.
I see that there is already a TeamProvisioning profile on the device for the app when I log into the developer's portal. However, in Xcode, I have this error when I build to the device:
Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
And in Xcode organizer, it says:
Xcode could not find a valid private-key/certificate pair for this profile in your keychain.
Any thoughts? Thanks!