I would recommend not using the Xcode export option, but instead go to your Keychain Access.app and copy the key / certificate manually.
To do this, create a new keychain in Keychain Access (by default it will be saved in ~/Library/Keychains ). Select the login chain and then My Certificates in the Category section. You should now see your certificate in the right pane. On the left side there should be an arrow for disclosure, as well as a switch that should show you your secret key. Select the certificate and copy / paste it into the new keychain (do not drag it or it will remove it from login ).
Now you can copy this keychain to a new computer, open it in Keychain Access.app and copy the / cert switch to the login chain there.
And the reason I do not recommend using Xcode for this is precisely because you mention that it exports all accounts. In the past, I had clients who sent me their “developer key / certificate”, which included a key / certificate for dozens of other developers in their company.
source share