Code Sign error: No codesigning identities found: No codesigning identities (i.e.
Obviously this issue has different causes. :)
For my case, my account log in expired... I solved it by simply:
XCode -> Preferences -> Account -> Apple IDs -> Select the related ID and renew the log in...
Hope this helps!