Please verify that your device’s clock is properly set, and that your signing certificate is not expired.

解决方法:

1.关闭项目,找到项目文件XXXX.xcodeproj,在文件上点击右键,选择“显示包内容”(Show Package Contents)。会新打开一个Finder。

2.在新打开的Finder中找到project.pbxproj,并且打开,找到所有包含报错的UUID‘XXX’的行(包含UUID后面的一串数字的行,可能不包含"UUID"),整行删除。

3.保存,重新启动项目,再编译,就OK了。

github: https://github.com/ios-study 简书地址:https://www.jianshu.com/u/9d0a57d9905c
原文地址:https://www.cnblogs.com/xuhuizhan520/p/5442908.html