Xcode:简单语言的目标和方案是什么? [英] Xcode: What is a target and scheme in plain language?
本文介绍了Xcode:简单语言的目标和方案是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是的,标题说:-)它们用简单的英语语言是什么意思?我真的不明白Apple网站上的解释,我需要重命名我的目标,我担心之后没有任何工作......
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..
推荐答案
我也在Workspace和Project中添加了!
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屋!
查看全文