xcode 构建和存档被禁用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5657114/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:49:16  来源:igfitidea点击:

Build and Archive Is Disabled

xcode

提问by Zachary

I've read every other thread on this and have tried everything but the "Build and Archive" function is determined not to be clicked.

我已经阅读了关于此的所有其他线程并尝试了所有方法,但确定不会单击“构建和存档”功能。

I am running OSX 10.6.7 and Xcode 3.2.4. I am developing a MAC application and am trying to submit it to the Mac App Store, but to do this i need to run the Build and Archive feature, and I simply cannot figure out how to get it to run. I have heard about these "developer tools 1.1" from some other thread but cannot find those either. If you are about to say that that will fix things, then please link me, otherwise, any suggestions are greatly appreciated.

我正在运行 OSX 10.6.7 和 Xcode 3.2.4。我正在开发一个 MAC 应用程序并试图将它提交到 Mac App Store,但要做到这一点,我需要运行构建和存档功能,但我根本不知道如何让它运行。我从其他一些线程听说过这些“开发人员工具 1.1”,但也找不到。如果您要说这会解决问题,请链接我,否则,非常感谢您的任何建议。

P.S. Yes im in Release Mode

PS 是的,我处于发布模式

回答by Wasim

Another answer could be that your active SDK should be set to Device not to simulator. You can find this setting in Project > Set Active SDK > Device.

另一个答案可能是您的活动 SDK 应设置为设备而不是模拟器。您可以在项目 > 设置活动 SDK > 设备中找到此设置。

Happy Coding..!

快乐编码...!

回答by Zachary

Figured it out... In order to Build and Archive with a Mac App (as opposed to iOS) you need Xcode 3.2.5 (maybe even 3.2.6) or better. So to all those with the same problem, make sure you are running the lasest version before trying ot Build and Archive.

想出来了……为了使用 Mac 应用程序(而不是 iOS)构建和存档,您需要 Xcode 3.2.5(甚至可能是 3.2.6)或更高版本。因此,对于所有遇到相同问题的人,请确保在尝试构建和存档之前运行的是最新版本。