Sometimes even when you have valid certificate Xcode throws this error. This is because of your account is logged off somehow.
To login back: Xcode > Preferences > Accounts then click on login and Always allow.
Sometimes even when you have valid certificate Xcode throws this error. This is because of your account is logged off somehow.
To login back: Xcode > Preferences > Accounts then click on login and Always allow.