Xcode:什么是简单语言的目标和方案? [英] Xcode: What is a target and scheme in plain language?
本文介绍了Xcode:什么是简单语言的目标和方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是的,标题说明了这一点:-) 它们在简单的英语中是什么意思?我真的不明白苹果网站上的解释,我需要重命名我的目标,我担心之后没有任何作用..
Yeah the title says it :-) What do they mean in plain English language? I really don't understand the explanation on Apple's website and I need to rename my target and I'm afraid that nothing works after that..
推荐答案
我也在工作区和项目中添加了!
I've added in Workspace and Project too!
- 工作区 - 包含一个或多个项目.这些项目通常相互关联
- 项目 - 包含代码和资源等(您会习惯的!)
- 目标 - 每个项目都有一个或多个目标.
- 每个目标定义了该项目的构建设置列表
- 每个目标还定义了在构建时包含/使用的类、资源、自定义脚本等的列表.
- 目标通常用于同一项目的不同发行版.
- 例如,我的项目有两个目标,一个普通"版本和一个办公室"版本,它具有额外的测试功能,可能包含多个背景音乐曲目和一个用于更改曲目的按钮(正如目前所做的那样).
- 您将习惯于在添加类和资源时将它们添加到默认目标.
- 您可以选择将哪些类/资源添加到哪个目标.
- 在我的示例中,我将一个DebugHandler"类添加到我的办公室构建中
- Workspace - Contains one or more projects. These projects usually relate to one another
- Project - Contains code and resources, etc. (You'll be used to these!)
- Target - Each project has one or more targets.
- Each target defines a list of build settings for that project
- Each target also defines a list of classes, resources, custom scripts etc to include/ use when building.
- Targets are usually used for different distributions of the same project.
- For example, my project has two targets, a "normal" build and an "office" build that has extra testing features and may contain several background music tracks and a button to change the track (as it currently does).
- You'll be used to adding classes and resources to your default target as you add them.
- You can pick and choose which classes / resources are added to which target.
- In my example, I have a "DebugHandler" class that is added to my office build
- 通常,每个目标至少有一个方案
- 您可以通过转到方案">管理方案"并按立即自动创建方案"来为目标自动创建方案
这篇关于Xcode:什么是简单语言的目标和方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文