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.

Answered by Smithers in 398525022

Weird, a reboot fixed it.

Accepted Answer

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

recommand to use Automatically manage signing ,and remember to delete entitlements, it's managed by auto signing , so delete them also in Building Settings -> code signing , delete entitlements , then bug is gone!

I am still facing the same issue after trying to solve it for 2 days straight! I tried everything but nothing worked!

Xcode automatic signing not working
 
 
Q