Got the same, happens once a year, long enough for me to forget how to fix this problem with development certificates. Opened the keychain as kindly posted by CloverSly, found one developer certificate that has expired, deleted, and my app works now (I think XCode created a new one that expires next year), so I can expect to be back here next year.
Maybe one day/year/decade Apple will come up with non expiring developer certificates.