Xcode 问题The identity used to sign the executable is no longer valid

iOS 真机调试出现:“Please verify that your device’s clock is properly set, and that your signing certificate is not expired.如图1

图1

1.去Xcode ->preferences-> View details,在signing identities中点击Reset,如图2

图2

2.去钥匙串中删除过期证书,如图3

图3

3,检查Provisioning profile设置是否有误,我一般设置为Automatic,如图4

图4

然后重新插入手机,点击fix issue,重新生成证书即可.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容