This is because Apple's Wwdrca certificate February 14, 2016 expired
Open Key chain, click Show-Show expired certificate
Delete Expired certificates
From URL: https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
Download the new certificate and double-click install. Restart the Xcode and try again, it should be no problem.
If you have any questions, please contact the blogger, email: email@example.com
Copyright statement: This article by http://www.bestnathan.com/Original, Welcome to reprint share. Please respect the work of the author, reprinted when the statement and the author blog link, thank you