Xcode相关概念:Target、Project、Scheme、Workspace

     建立并编译Xcode工程时,有几个经常使用概念想在这里记一下。xcode

     

     Xcode Target:ui

     定义:A target defines a single product; ....spa

     理解:输出文件,等同于VS的Target。好比你建立一个Xcode Application工程,它的默认输出必然是一个App。code

    

    Xcode Project:orm

    定义:An Xcode project is a repository for all the files, resources, and information required to build one or more software products.blog

    理解:工程文件,相似于VS的 .vcxproj。继承

    后缀:.xcodeprojget

    注意:一个Xcode Project能够设置多个Target,默认状况下Target 继承Project的编译选项,可是每一个Target的编译选项也能够单独设置。工作流

 

    Xcode Scheme:it

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

    理解:编译平台及类型的组合,相似于VS 的配置管理器(Configuration Manager),设置诸如:X8六、X6四、Debug、Release等。

 

    Xcode Workspace:

    定义:A workspace is an Xcode document that groups projects and other documents so you can work on them together.

    理解:工做流,相似于VS的 .sln。能够同时包含多个Xcode Project。    

    后缀:.xcworkspace。

相关文章
相关标签/搜索