Xcode添加Build Configuration
2017-07-04 本文已影响34人
yanhooIT
添加步骤如下
-
Copy一份现有配置
add_build_config1.png
-
检查
TARGETS
下项目的Build Setting
下的Preprocessor Macros
配置
add_build_config5.png
-
配置完使用Jenkins打包可能遇到以下问题
- 问题描述
library not found for -xxxxxx
- 解决办法:因为使用了pod,所以直接执行下
pod update --verbose --no-repo-update
的命令即可
检查以下项是否正确
-
一般是和你拷贝的配置项的配置是一致的
-
检查
Build Active Architecture Only
选项配置
add_build_config2.png
-
检查
Debug Information Format
选项
add_build_config3.png
-
检查
Optimization Level
选项
add_build_config4.png