Xcode - Target 设置-Build Settings

Build Settings----包含

编译设置 (指令集,编译目录,编译选项,部署,链接,签名,内核模块,包,版本管理,测试,搜索路径,编译语言,编译警告)


A--> Architectures--体系结构(指令集) 

    1:Base SDK 指的是当前编译用的SDK版本

   2:Supported Platforms--支持的平台

  3:Build Active Architecture Only:它只编译当前的architecture版本

  4:Architectures--在这个项目里你想要Xcode编译的目标设备列表

  5:Valid Architectures 该编译项指定可能支持的指令集,该列表和Architectures列表的交集,将是Xcode最终生成二进制包所支持的指令集

B-->Build Locations -- 编译目录(文件目录)

   1:Build Products Path 产品文件和编译时临时文件都将放在这个目录的子目录中

  2:Intermediate Build Files Path  编译时临时文件的存放位置。编译中间文件格式为product name+.build,如MyProduct.build。

  3:Per-configuration Build Product Path 当前编译设置下的产品存放位置

  4:Per-configuration Intermediate File Path 当前编译设置下编译时临时文件的存放位置

  5:Precompiled Headers Cache Path 存放预编译头文件的位置。通过这个配置,Targets可以互相共享预编译的头文件

C--> Build Options  -- 编译选项(编译器选择,debug文件类型,Bitcode,生成的文件类型,私有API验证)

   0:Build Variants 此项可以设定生成产品的变种

   1:Compiler for C/C++/Objective-C--->选择编译器

   2:Debug Information Format 这个选项决定了记录debug信息的文件格式

   3:Always Embed swift standard libraries 是否 总是嵌入switf标准库

  4:Enable Bitcode 启用Bitcode(一种中间代码)

  5:Enable Testbility 这是单元测试有关选项,项目里如果没有单元测试 就关了吧

  6:Generate Profiling Code 是否生成配置代码。默认选择NO。

  7:Precompiled Header Uses Files From Build Directory 未改动的文件保留成预编译文件

  8:Scan All Source Files for Includes 扫描include文件所包含的所有源文件。

  9:Validate Built Product  这个选项决定了是否在编译的时候进行验证

  10:Require Only App_Extension-Safe API APP 扩展API 的使用


D--> Deployment (部署) / signing (签名) / Linking (链接)

G--> Headers(头部) / Kernel Module (内核模块) / Packaging  (包) / Search Paths (搜索路径) / versioning  (版本控制)

Preprocessor Macros:可以这个里面定义一些预处理的宏。例如,Xcode 自动帮你在 Debug 里面定了一个宏 DEBUG=1,这样就可以用这个宏来判断当前的App是不是Debug版本了

1:Deployment  部署

1:Additional Strip Flags

2:Additional Install Group

3:Additional Install Owner

4:Additional Install Permissions

5:Additional Permissions Files

6:Deployment Location

6:Deployment Postprocessing

6:Install Group

6:Install Owner

6:Install Permissions

6:Installation Build Products Location

6:Installation Directory

6:Resources Targted Device Family

6:Skip Install

6:Strip Debug Symbols During copy

6:Strip Linked Product

6:Strip style

6:Targeted Device Family

6:Use Separate Strip

6:Headers  头部

1:Run unifdef on product headers

2:Unifdef Flags for product headers

7:Kernel Module  内核模块

module identifier

module start routine

module stop routine

module version

8:Linking

1:Bundle Loader

2:Coppatibility Version

3:Current Library Version

4:Dead code stripping

5:display mangled names

6:don`t dead- strip inits and terms

7:dynamic Library install name

8:dynamic Library install name base

9:exportd symbols file

10:generate positioan-dependen executable

11:initialization routine

12:link with standard libraries

13:mach-0 type

14:order file

15:other librarian flags

16:other link flags

17:Path to link map file

18:perform single-object prelink

19: prelink libraries

21:perserve private external symbols

22:quote linker arguments

23:re-Exported framework names

24:re-Exported library names

25:re-Exported library paths

26:Runpath search paths

27:separately edit symbols

28:single-object prelink flags

29:symbol ordering flags

30: unexported symobls file

31: warning linker flags

32: write link map file

8:Packaging

convert copied files

create info.plist section in binary

defines module

executable extension

executable prefix

expand build setting in info.plist file

force package info generation

framework version

info.plist file

info.plist other preprocessor flags

info.plist output encoding

info.plist preprocessor definitions

info.plist preprocessor prefix file

module map file

preprocess info.plist file

preserve HFS data

private headers folder path

private module map file

product bundle identifier

product module name

product name

property list output encoding

public headers folder path

strings file output encoding

wrapper extension

8:Search Paths

always search user paths

framework search paths

header search paths

linrary search paths

rez search paths

use header maps

user header search paths

8:signing

code signing entitlements

code signing identity

development team

other code signing flags

provisioning profile

provisioning profile(depreacatef)

8:testing

8:text- based API

8:versioning

Apple LLIV 8.0 - address sanitizer

Apple LLIV 8.0 - code generation

Apple LLIV 8.0 - custom compiler fiags

Apple LLIV 8.0 - language

Apple LLIV 8.0 - language - C++

Apple LLIV 8.0 - language - modules

Apple LLIV 8.0 - language - OC

Apple LLIV 8.0 - perprocessing

Apple LLIV 8.0 - warning policies

Apple LLIV 8.0 - warnings -all languages

Apple LLIV 8.0 - warnings - C++

Apple LLIV 8.0 - warnings - OC

Apple LLIV 8.0 - warnings - OC and ARC

Asset catalog compiler - options

Inerface Builder storyboard compiler - options

OSACompile - build options

Static Analyzer - Analysis policy

Static Analyzer - Generic issues

Static Analyzer - issues -OC

Static Analyzer - issues -Security

User-Defined

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 220,699评论 6 513
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 94,124评论 3 395
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 167,127评论 0 358
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 59,342评论 1 294
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 68,356评论 6 397
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 52,057评论 1 308
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,654评论 3 420
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,572评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 46,095评论 1 318
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 38,205评论 3 339
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 40,343评论 1 352
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 36,015评论 5 347
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,704评论 3 332
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 32,196评论 0 23
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,320评论 1 271
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,690评论 3 375
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 45,348评论 2 358

推荐阅读更多精彩内容

  • 本文主要对xcode中常见的工程配置进行介绍,仅用于记录分享,不做其他用途。 Architectures Addi...
    TangledBoy阅读 13,096评论 4 34
  • 静态库与动态库的区别 首先来看什么是库,库(Library)说白了就是一段编译好的二进制代码,加上头文件就可以供别...
    吃瓜群众呀阅读 11,958评论 3 42
  • 唢呐声,鞭炮声把三个人吵醒了。 小雨睁开眼睛,映入眼帘的是蓝天白云,她用胳膊碰了碰睡在旁边的许松,自己坐了起来,循...
    向往的安南阅读 543评论 5 3
  • day 60 第二章 Mr Willy Wonka's Factory 'It is, my dear, it i...
    123逍遥游阅读 687评论 0 0
  • 第一关 兴趣关 业余时间有动力去做的事情,无非只有一个原因,那就是兴趣。打羽毛球也是如此,对打羽毛球非常感兴趣才会...
    羽你同乐阅读 529评论 1 1