xcode 构建阶段选项卡隐藏或丢失
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8188801/
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
Build Phase Tab Hidden or Missing
提问by Digital D
I'm probably asking a very elementary Xcode question, but here it goes. My layout has no 'Build Phase' tab. I might have inadvertently changed my layout. A lot of tutorials state that you should go to the Build Phase tab and link to a library. Well, I've Clicked on the Target, and the File under the Target, Searched the Toolbar, searched the project settings, Info. When I right click on the Target File I get a list including "Copy Build Phase" and Add Build Phase, but that's not giving me access to the Build Phase Tab. I've tried 'reset to default or factory layout'.....Build Phase Tab. How can I display the layout with a Build Phase tab in the toolbar, and save it to utilize in my projects? By the way I'm using XCode 3.2 maybe it's a version limitation?
我可能会问一个非常基本的 Xcode 问题,但它就在这里。我的布局没有“构建阶段”选项卡。我可能无意中改变了我的布局。许多教程都指出您应该转到“构建阶段”选项卡并链接到一个库。好吧,我点击了目标,点击了目标下的文件,搜索了工具栏,搜索了项目设置,信息。当我右键单击目标文件时,我会得到一个列表,其中包括“复制构建阶段”和“添加构建阶段”,但这并没有让我访问构建阶段选项卡。我试过“重置为默认或工厂布局”.....构建阶段选项卡。如何使用工具栏中的“构建阶段”选项卡显示布局,并将其保存以在我的项目中使用?顺便说一下,我使用的是 XCode 3.2 可能是版本限制?
采纳答案by ughoavgfhw
It sounds like those tutorials are for Xcode 4. For your version, if you open the target in the sidebar, there should be some groups. Those are your build phases. Just drag the library into the one that says something like "Link Executable", or click the checkbox to add it to your target and it should go there automatically.
听起来这些教程是针对 Xcode 4 的。对于您的版本,如果您在侧边栏中打开目标,应该有一些组。这些是您的构建阶段。只需将库拖到显示“链接可执行文件”之类的库中,或单击复选框将其添加到您的目标,它应该会自动转到那里。