""[Application]" requires a provisioning profile. Enable development signing and select a provisioning profile in the project editor"

I was trying to play around with the source code from macOS' Chess app, however, when I open it in Xcode I get an error saying "MBChess" requires a provisioning profile. Enable development signing and select a provisioning profile in the project editor. (in target 'MBChess')

Screenshot of error

I was trying to find solutions to similar issues, but the project file "MBChess" does not have the tabs mentioned in other answers (such as "General").

How would I get the app to build and run on my machine?