Xcode Scheme (Apple Document) 什么是Xcode 中的Scheme


Apple 官方地址:

http://developer.apple.com/library/mac/#featuredarticles/XcodeConcepts/Concept-Schemes.html

一个写的很详细的个人博客,英文

http://pilky.me/view/17

Xcode Scheme

An Xcode scheme defines a collection of targets to build, a configuration to use when building, and a collection of tests to execute.

You can have as many schemes as you want, but only one can be active at a time. You can specify whether a scheme should be stored in a project—in which case it’s available in every workspace that includes that project, or in the workspace—in which case it’s available only in that workspace. When you select an active scheme, you also select a run destination (that is, the architecture of the hardware for which the products are built).


Xcode scheme 定义了编译集合中的若干target,编译时的一些设置以及要执行的测试集合。

你可以自定义若干个scheme,但是同一时刻只能运行一个.你可以定义scheme是保存于一个工程中,也就是scheme是否针对所有包含那个工程的工作区,否者就只是针对此工作区(ps:我理解为,scheme是否和工程绑定,若干绑定,则此scheme是伴随此产品的,无论工作区变换与否)。当你选中一个运行的scheme时,你也可以选中一个执行目标,也就是此产品会被哪一个硬件编译运行。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值