1. On which line should I specify the provisioning profile?
First, you are not required to set training profiles in the PROJECT section. I always installed them in the TARGET section. Now, if you are developing, you should install:
Any iOS SDK iPhone Developer
In the Debug section. And if you are preparing Adhoc, you need to install:
Any iOS SDK iPhone Distribution
In the Release section.
2 .What is the best way to import an updated provisioning profile into Xcode?
Go to Organizer , click the Devices tab, then click the New button at the bottom, you will be prompted to log into your Apple account. Then I think that the profiles will be imported, click the Refresh button to view the added profiles.
source share