iPhone SDK:为 AppStore 构建应用程序
我有开发证书和分发证书。我能够构建一个在我自己的设备上运行的应用程序,并且还按照 Apple 的说明使用 Distribution Cert 为 AppStore 构建。我还按照 Apple 的指导,通过查看构建日志来验证应用程序是否已正确签名。
不过我还有一个问题。考虑以下屏幕截图: http://www.braginski.com/temp.jpg
是两个整体:一个正确地说“不要编码签名”,第二个指向我的分发证书。
所有 Apple 文档都将第一个框显示为空,第二个框显示实际证书。
问题是我不知道如何使第一个框为空。
所以问题是:第一个框应该是什么?这还重要吗?构建日志显示应用程序已签名,即使第一个框显示“请勿签名”,
谢谢
I have dev cert and distibution cert. I am able to build an app to run on my own device and also followed Apple's instuctions to build for AppStore by using Distribution Cert. I also followed Apple's guidance to verify that app was correctly signed by reviewing a build log.
However I still have a question. Consider the following screen shot: http://www.braginski.com/temp.jpg
There are TWO entires: one which correctly say "Don't code sign" and the second which points to my distribution certificate.
All Apple docs show the first box as EMPTY and second box with the acctual cetificate.
The problem is that I can't figure out how to make first box empty.
So the question is: what should the first box be? Does it even matter? Build log shows that app is signed even when first box says "Don't sign"
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您确实想要默认设置,只需在该设置上按删除键,它就会给您默认值。
“第一个盒子”只是“第二个盒子”的自动设定器。实际上,仔细选择“第二个框”(如果您希望它自动选择,则选择第一个框)非常重要,因为它会选择您要使用的分发配置文件进行签名。
如果您的构建日志显示它无论如何都在唱歌,请确保您正在更改您想要实际更改的配置。
If you really want to have the default setting, just press delete key on this setting, it will give you the default.
"The first box" is only a automatic setter for the "second box". It is actually important to choose carefully the "second box" (and the first one if you want it to choose automatically) because it chooses in with which distribution profile you're signing with.
If you build logs shows that it's singing anyway, be sure that you're changing the configuration you want to actually change.
如果您想清除该值,只需用鼠标选择它并按删除键即可。
在构建 AppStore 分发时,我总是将其留空,因此我无法告诉您将其保留为“不签名”会产生什么影响。
If you want to clear that value, just select it with the mouse and press your delete key.
I have always left it empty when building for AppStore distribution, so I can't tell you what the effect would be of leaving it in Don't Sign.
好的,我已经确认,只要正确选择第二个框中的证书,第一个框中的第一个框中的“不要编码签名”与第一个框为空的情况是一样的。
我在第一个框中运行了两个带有和不带“不要编码符号”的构建。我将两个构建结果保存为文本文件并进行了比较。
这些文件是相同的,这让我相信正如 Gcamp 所指出的那样,第一个框一定只是为第二个框选择默认值的方法。如果你问我的话,XCode 中的 UI 非常奇怪。
Ok, I have confirmed that having "Don't code sign" in the first box of have empty first box is THE SAME thing as long as certificate in the second box is selected correctly.
I ran two builds with and without "Don't code sign" in the first box. I saved both build results as a text files and compared them.
These files are identical, which leads me to believe that as was pointed out by Gcamp the first box must be just a method of selecting a default for the second both. Very strange UI in XCode if you ask me.