你如何在 Xcode 4.0 中使用编译源?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5762916/
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:53:43 来源:igfitidea点击:
How do you use Compile Sources in Xcode 4.0?
提问by Bess
In Xcode 3.0, you can use Project Targets in Groups & Files panel to remove unwanted dependency files. Below is the instruction.
在 Xcode 3.0 中,您可以使用 Groups & Files 面板中的 Project Targets 来删除不需要的依赖文件。下面是说明。
- Click the arrow next to Targets until you expand it in the Groups & Files panel.
- Click the arrow next to xauth.
- Click Compile Sources.
- Delete the following YAJL dependency files.
- 单击“目标”旁边的箭头,直到在“组和文件”面板中将其展开。
- 单击 xauth 旁边的箭头。
- 单击编译源。
- 删除以下 YAJL 依赖文件。
How do you do it in Xcode 4.0?
你如何在 Xcode 4.0 中做到这一点?
回答by McCygnus
It's very similar:
这非常相似:
- Select the project in the project navigator.
- Select the Target in the detail view.
- Select the Build Phase tab.
- Expand the Compiled Sources section
- Remove the file you don't want to be compiled anymore
- 在项目导航器中选择项目。
- 在详细视图中选择目标。
- 选择构建阶段选项卡。
- 展开编译源部分
- 删除不想再编译的文件