You may have an expired cert.
Open Keychain Access
In Search filter enter certificate name ("Mac Developer: Dylan M (*******)")
If there's a matching expired cert, then delete it
There may now be just one valid cert matching - so retry the build
If needed go create new certificate