Code signing error while changing the mac.

I have developer certficate and provisionig profile and all other required things. My app has been working fine and i could able to move the build to testflight. But due to some inventory changes have changed the mac. While moving the build to testflight using new mac it throws

Provisioning profile "***" doesn't include signing certificate "iPhone Developer: ***". error. I am using xcode 10.1. Have tried all the way but nothing works for me. Can anyone please let me know if i have missed anything.

Replies

When you exported the cert from the old machine, did you confirm you grabbed the correct one during the move to the new mac?