- Open XCode and start a blank project (we just need to access the settings)
- Go to Preferences > Accounts
- Add your Apple ID to the accounts if you haven't already (choose Apple ID in the type of accounts)
- Once the team (of yourself) is created, click on "Manage Certificates"
- Click on "+" and choose Mac Development, then Done.
- Open Keychain Access to view your certificates and look for one containing "Mac Developer"
- Double click the certificate and beside "Common Name" should be the identity.