How do I register a device to my developer account ?

When I creat a new project, the following message appear:

"Failed to create provisioning profile.

There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it."


I would like to know how to register my computer and my phone.

Replies

Do you have a valid paid Developer Program account>


Which version Xcode are you using?