打包出现Missing iOS Distribution signing identity的问题

打包的时候发现出现Missing iOS Distribution signing identity的问题,苹果官方给出的回应:

Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.  

解决方案:

  1. 下载wwdr证书 下载链接
  2. 双击安装到钥匙串
  3. 在钥匙串中选择查看菜单里面的显示已过期证书
  4. 在登录栏里面删除已过期证书:"Apple Worldwide Developer Relations Certificate Authority certificates"
  5. 删除系统栏里面的过期证书