1. After the end of the year and found that the certificate is not valid, whether it is a debug certificate or publish the certificate do not know why overnight all useless, scary, finally find online to solve this problem, the solution is as follows:
Need to download a new Apple certificate, because Apple has modified the certificate. (https://segmentfault.com/q/1010000004433963/a-1020000004434112)
2, select login (login field) in Keychains, then click Certificates, in this interface, select the toolbar view---Show Expired certificates, you will find an outdated "WWDR Certificate "(Apple Worldwide Developer Relations Certification authority), delete it.
3, in the system of the column also has this expired "WWDR Certificate", and delete it.
4, no accident your certificate there from "This certificate have an invalid issuer" (the issuer of this certificate is invalid) becomes "This certificate is valid".
5. It is really useful to try today, hope can help you, thank you all
Workaround for invalid certificate in iOS