Go to Xcode Preferences
-> Accounts
tab -> Double-click your team name -> Click the +
at the bottom left of the dialog box that appears -> Select iOS Development
.
This will create a new development certificate that will allow you to install and test on your device.