2019-03-19 09:09:23 +00:00
|
|
|
|
# xcodebuild
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
> 构建 Xcode 项目。
|
2019-03-19 09:09:23 +00:00
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 构建工作区:
|
2019-03-19 09:09:23 +00:00
|
|
|
|
|
|
|
|
|
`xcodebuild -workspace {{工作区名.工作区}} -scheme {{主题名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 构建项目:
|
2019-03-19 09:09:23 +00:00
|
|
|
|
|
|
|
|
|
`xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
|
|
|
|
|
|
2022-03-27 06:25:15 +01:00
|
|
|
|
- 显示 SDK:
|
2019-03-19 09:09:23 +00:00
|
|
|
|
|
|
|
|
|
`xcodebuild -showsdks`
|