Command CodeSign failed with a nonzero exit code

Hi,
I am brand new to Xcode and I keep on getting an error message saying "Command CodeSign failed with a nonzero exit code". I am not enrolled in the Apple Developer Program. Does anyone know how to fix this?
Answered by TrashDealer in 668608022
I have actually found the answer to my own question but for anyone else that is having the same problem as me, you should clean up your project with shift + command + k which is what solved my problem
Accepted Answer
I have actually found the answer to my own question but for anyone else that is having the same problem as me, you should clean up your project with shift + command + k which is what solved my problem
You are a live saver
Command CodeSign failed with a nonzero exit code
 
 
Q