[英]iOS Code Signing Identity
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. 我的Xcode 4.6 iOS项目有“PROJECT”和“TARGETS”部分,每个部分在“Code Signing Identity”下都有一个“Debug”和“Release”区域,带有“Any iOS SDK”条目。
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. 首先,您没有义务在PROJECT
部分设置配置文件。 I always set them in the TARGET
section. 我总是将它们设置在TARGET
部分。 Now if your are developing, you should set the: 现在如果你正在开发,你应该设置:
Any iOS SDK iPhone Developer
Under Debug
. 在Debug
。 And if you are preparing Adhoc, you need to set: 如果你正在准备Adhoc,你需要设置:
Any iOS SDK iPhone Distribution
Under Release
. 正在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. 转到Organizer
,单击Devices
选项卡,然后点击底部的New
按钮,系统将提示您登录Apple帐户。 Then I think profiles will be imported, click Refresh
button to see added profiles. 然后我认为将导入配置文件,单击Refresh
按钮以查看添加的配置文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.