Xcode automatic signing not working

Suddenly, automatic signing has stopped working across all our apps (even on different developer IDs), we see this:


Automatic Signing Fialed

Xcode failed to provision this target. Please file a bug report at <https://feedbackassistant.apple.com> and include the Update Signing report from the Report navigator.


Signing certificate "Apple Development: XXXXX (XXXXX)", serial number "XXXXX", is not valid for code signing. It may have been revoked or expired.



Anyone else experiencing the same? I've tried doing everything from deleting the derived folder, to trying to reset and create new certificates to trying different versions of Xcode. Everything fails and I get a prolonged "Waiting to repair" message first and then this.

Accepted Reply

Weird, a reboot fixed it.

Replies

Weird, a reboot fixed it.

Thanks! Just to confirm that a rebbot fixed it for me too. After a long frustration!

For my case it was XCode being open for a long time and apparently there was a couple of updates to install that have just arrived. So quiting the XCode and installing the necessary components did the magic.

Reboot fixed it