title: taking backup of code signing identities for a new mac
body: <p>I need to take backup of the code signing identities to shift to a new mac, I have found two ways to do so.</p>
  
  <ol>
  <li>As per the apple develper docs, I can take a backup of code signing identities by going to preferences - > accounts -> settings -> export developer accounts (<a href="https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW16" rel="nofollow noreferrer">https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW16</a>)</li>
  <li>By going to keychain access and exporting the private keys.</li>
  </ol>
  
  <p>There is inconsistency between the ios distribution certificate info in keychain access and in xcode. When I view details of my team in xcode, the iOS developer signing identity is fine, but the distribution signing identity shows me reset button. I see this distribution certificate in keychain access and it says it is valid (with a green tick).</p>
  
  <p><a href="https://i.stack.imgur.com/XKh7d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XKh7d.png" alt="As it shows in the xcode"></a> 
  <a href="https://i.stack.imgur.com/orgRH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/orgRH.png" alt="As it shows in keychain access"></a></p>
  
  <p>I have already released an app using this distribuition certificate, and I wouldn't want any problems while releasing updates to it. Will resetting before taking the backup hinder the updates by invalidating the private key?</p>
  
  <p>Thanks,
  Sumeet</p>