在 Xcode 4 中管理构建配置的位置?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8389840/
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
Where to manage Build Configurations in Xcode 4?
提问by dontWatchMyProfile
I remember in Xcode 3 there was "Debug", "Release" and possibly "Distribution". There was a dialog where we could duplicate the "Release" build config and rename it to "Distribution" in order to modify some build settings for distribution.
我记得在 Xcode 3 中有“调试”、“发布”和可能的“分发”。有一个对话框,我们可以在其中复制“发布”构建配置并将其重命名为“分发”,以便修改分发的一些构建设置。
In Xcode 4 I can't find references to these Build Distributions as known from Xcode 3. When I click on my project in the navigator, I get a big window on the right. There I click "Build Settings" and choose the "All" filter along with "Levels".
在 Xcode 4 中,我找不到对 Xcode 3 中已知的这些 Build Distributions 的引用。当我在导航器中单击我的项目时,我会在右侧看到一个大窗口。在那里我单击“构建设置”并选择“全部”过滤器和“级别”。
It shows me these columns: Settings, Resolved, AppName, AppProject, iOS Default.
它向我显示了这些列:设置、已解析、AppName、AppProject、iOS 默认。
It seems that they compressed all the different configurations into this massive list. Many build settings show up in different "flavors". For example: Architecture > [Debug | Distribution | Release].
似乎他们将所有不同的配置压缩到了这个庞大的列表中。许多构建设置以不同的“风格”出现。例如:架构 > [调试 | 分销 | 释放]。
On the other hand, other build settings don't appear splitted up into these 3 "Build Configuration types". For example there is just one Base SDK setting (despite the fact that it would be nonsense to set different Base SDK for different Build Config. Or maybe not.)
另一方面,其他构建设置似乎没有分成这 3 种“构建配置类型”。例如,只有一个 Base SDK 设置(尽管为不同的 Build Config 设置不同的 Base SDK 是无稽之谈。或者可能不是。)
Unfortunately the iTunes Connect integrated help system is still hanging around in Xcode 3 good old days and telling me to duplicate a Release build config. Which I can't in Xcode 4.
不幸的是,iTunes Connect 集成帮助系统仍然在 Xcode 3 的美好时光中徘徊,并告诉我复制发布构建配置。我在 Xcode 4 中做不到。
The iOS App Development Workflow Guidedoes not go into detail about HOW to actually DO it in Xcode 4. Only about three paragraphs on that page refer to building for the App Store. It mentions an "AppStore Scheme" which I don't even have, since I did not create my project with Xcode 4 initially.
在iOS应用开发流程指南不进入有关如何在Xcode 4真正做到这一点,只有在该网页上三段细节请参阅建设为App Store。它提到了我什至没有的“AppStore Scheme”,因为我最初没有使用 Xcode 4 创建我的项目。
回答by Mark Granoff
In the left sidebar, click on your project, then in the window to the right click on your project name. And there are your configurations, in the Infotab of the main window.
在左侧边栏中,单击您的项目,然后在右侧的窗口中单击您的项目名称。还有你的配置,在主窗口的信息选项卡中。