问题描述
我安装了 Xcode 4,认为它与 Xcode 3 类似,但现在我无法使用管理器将我的二进制文件发送到 App Store,我认为这是执行此操作的正确方法.
I installed Xcode 4, thinking it would be similar to Xcode 3, and now I cannot get my binary to the App Store using organizer which I believe is the proper way to do this.
有没有人让它正常工作?不确定我需要更新什么设置 - 我得到的只是无效的二进制"消息.当然,这是我需要提交的重要更新.
Has anyone got this working properly? Not sure what setting I need to update - All I get is an "invalid binary" message. Of course, it is a critical update I need to submit.
推荐答案
我遇到过类似的事情.您应该检查您的代码签名设置.Xcode 4 引入了方案",这有点复杂.将它们视为一组配置.在 Xcode 3 中,您只能有一组这样的设置.
I've had something similar. You should check your code signing settings. Xcode 4 introduces "schemes", which are a little complicated. Think of them as sets of configurations. In Xcode 3, you could only have one such set of settings.
我相信您需要检查您的活动方案的代码签名设置.选中存档"选项.
I believe that you need to check your code signing settings for your active scheme. Check the "Archive" option.
编辑您的代码签名设置:
Edit your code signing settings:
然后,确保您的存档"选项使用正确的签名设置.点击窗口左上角菜单中的编辑方案"条目.
Then, ensure that your "Archive" option is using the correct signing settings. Click on the "Edit Scheme" entry in the menu on the top left of your window.
然后验证是否使用了正确的签名设置:
And then verify that the proper signing setting is being used:
根据您设置代码签名和构建设置的方式,您可能需要适当调整您的方案.
Depending on how you've set up your code signing and Build Settings, you may need to adjust your schemes appropriately.
这篇关于如何通过 Xcode 4 的组织者提交应用程序?我收到一个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!