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

Xcode 问题The identity used to sign the executable is no longer valid_第1张图片
图1

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

Xcode 问题The identity used to sign the executable is no longer valid_第2张图片
图2

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

Xcode 问题The identity used to sign the executable is no longer valid_第3张图片
图3

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

Xcode 问题The identity used to sign the executable is no longer valid_第4张图片
图4

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

你可能感兴趣的:(Xcode 问题The identity used to sign the executable is no longer valid)