[英]iOS provisioning profile number in Xcode
Anyway to match the provisioning profile in Xcode's organizer or online developer site with the crazy serial/id number given under Xcode's code signing preferences?无论如何要将 Xcode 的组织者或在线开发人员站点中的配置文件与 Xcode 代码签名首选项下给出的疯狂序列号/ID 号相匹配?
I want to make double sure I am building my app with the correct (Ad Hoc) provisioning profile -- Xcode gives me a long ID (as seen above), but the online developer site and the Xcode preferences that list my provisioning profiles don't list this number.我想确保我使用正确的 (Ad Hoc) 配置文件构建我的应用程序——Xcode 给了我一个长 ID(如上所示),但在线开发人员站点和列出我的配置文件的 Xcode 首选项没有“ t 列出这个数字。
What's being displayed in Xcode is the guaranteed to be unique UUID of the provisioning profile. Xcode 中显示的内容保证是配置文件的唯一 UUID。 To verify that it is the profile you want.
验证它是否是您想要的配置文件。 Go to the Apple Developer "Certificates, Identifiers & Profiles" site.
转到 Apple Developer“证书、标识符和配置文件”站点。
You can create new certificates in the the portal but it is way easer to use Xcode.您可以在门户中创建新证书,但使用 Xcode 更容易。 (I personally would not use the Beta Xcode 6 and all the following screenshots are from Xcode 5.1) As you can see my Testflight distribution certificate and provisioning profile have expired.
(我个人不会使用 Beta Xcode 6,以下所有屏幕截图均来自 Xcode 5.1)正如您所看到的,我的 Testflight 分发证书和配置文件已过期。 Expired certificates are not a huge problem they do not affect your apps in the store.
过期的证书不是一个大问题,它们不会影响您在商店中的应用程序。 The apps people buy are signed by Apple.
人们购买的应用程序均由 Apple 签名。 You have to sign the app to submit it for review to prove the app came from you.
您必须签署该应用程序才能提交审核,以证明该应用程序来自您。 It could be a problem if the certificate expires while your in review, but all you need to do is resubmit.
如果证书在您审核期间过期,则可能会出现问题,但您需要做的就是重新提交。 If your Ad Hoc distributed app certificate expires then your beta testers will no longer be able to run it.
如果您的 Ad Hoc 分布式应用程序证书过期,那么您的 Beta 测试人员将无法再运行它。 You will have to distribute them all a new version with a new certificate and updated provisioning profile.
您将不得不使用新证书和更新的配置文件为它们分发一个新版本。
This will take some time, ~ 30 sec ?这需要一些时间,~ 30 秒? be patient
要有耐心
Success成功
It's just security and private key/public key cryptography.这只是安全性和私钥/公钥密码学。 Like setting up ssh keys the devil is in the details.
就像设置 ssh 密钥一样,细节决定成败。 One thing missing, one incorrect permission, one bit changed and nothing works.
缺少一件事,一项不正确的权限,一点点更改,但没有任何效果。
Reference: Apple's Application Distribution Guide - https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AppDistributionGuide.pdf参考:Apple 的应用程序分发指南 - https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AppDistributionGuide.pdf
This clue is buried in a comment by wcochran but if all you need is to view the UUID of the mobileprovision file run this:这条线索隐藏在wcochran的评论中,但如果您只需要查看 mobileprovision 文件的 UUID,请运行以下命令:
grep -a -A 1 'UUID' <PATH_TO_MOBILEPROVISION_FILE>
That will print something like:这将打印如下内容:
<key>UUID></key>
<string>1a1a1a1a-2b2b-3c3c-4d4d-5e5e5e5e5e5e</string>
With the value between the <string>
tags being the UUID you need. <string>
标记之间的值是您需要的 UUID。
You can also open the file in vim
or some other text editor that doesn't mind non UTF-8 chars.您还可以在
vim
或其他不介意非 UTF-8 字符的文本编辑器中打开该文件。 (Brackets doesn't work for this reason). (由于这个原因,括号不起作用)。
This is a very handy tool: https://github.com/chockenberry/Provisioning这是一个非常方便的工具: https : //github.com/chockenberry/Provisioning
It's a Quick Look plug-in that lets you view the info about a .mobileprovision profile file, including its UUID.这是一个 Quick Look 插件,可让您查看有关 .mobileprovision 配置文件的信息,包括其 UUID。 Another bonus is that it will show you the devices that are configured for that profile file.
另一个好处是它会显示为该配置文件配置的设备。
I couldnt find a Windows answer anywhere, so here it is:我在任何地方都找不到 Windows 答案,所以这里是:
If you using windows, you can just open the downloaded provisioning profile with a text editor (I used Notepad++) to identify privisioning profile's UUID如果您使用 Windows,则只需使用文本编辑器(我使用 Notepad++)打开下载的配置文件即可识别配置文件的 UUID
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.