My Xcode 4.6 iOS project has "PROJECT" and "TARGETS" sections, each of which has a "Debug" and "Release" area under "Code Signing Identity" with an "Any iOS SDK" entry.
It all looks something like this:
PROJECT
myProject
Code Signing
Code Signing Identity
Debug iPhone Developer
Any iOS SDK iPhone Developer
Release iPhone Distribution
Any iOS SDK iPhone Distribution
TARGET
myTarget
Code Signing
Debug iPhone Developer
Any iOS SDK iPhone Developer
Release iPhone Distribution
Any iOS SDK iPhone Distribution
So, here are my summarized questions:
1. On which line should I specify the provisioning profile?
Firstly, you are not obliged to set provisioning profiles in the PROJECT
section. I always set them in the TARGET
section. Now if your are developing, you should set the:
Any iOS SDK iPhone Developer
Under Debug
. And if you are preparing Adhoc, you need to set:
Any iOS SDK iPhone Distribution
Under Release
.
2 .What is the best way to import an updated provisioning profile into Xcode?
Go to Organizer
, click Devices
tab, then hit the New
button at the bottom, you will be prompted to sign in your Apple account. Then I think profiles will be imported, click Refresh
button to see added profiles.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.