From the iOS Apps section, select Povisioning File, and
select the + button to create a new provisioning file.
Choose iOS App Development as your provisioning profile
type, then click Continue.
From the drop-down, choose the App ID you created and click
Select your iOS Development certificate in the next screen, and click
Select which devices to include in the provisioning profile, and click
Choose a name for your provisioning profile, then click
Click Download to download the generated provisioning file.
Double-click the downloaded provisioning file to install it.
Xcode's Organizer opens in the Devices pane. Your new provisioning profile appears
in the Provisioning Profiles section of your Library. Verify that the status for the
profile is "Valid profile." If the profile is invalid, verify that your developer
certificate is installed in your Keychain.