xcodebuild 如何将 WARNING_CFLAGS 传递给 buildsettings
how xcodebuild to pass WARNING_CFLAGS to buildsettings
xcodebuild -project MyProj.xcodeproj -scheme MyLib WARNING_CFLAGS='-Wno-shorten-64-to-32
好像不行...
- 转到 Xcode 项目的构建阶段。
- In compile sources, select all files you want to compress for
错误
- 将
-Wno-shorten-64-to-32
添加到“编译器标志”列
xcodebuild -project MyProj.xcodeproj -scheme MyLib WARNING_CFLAGS='-Wno-shorten-64-to-32
好像不行...
- 转到 Xcode 项目的构建阶段。
- In compile sources, select all files you want to compress for 错误
- 将
-Wno-shorten-64-to-32
添加到“编译器标志”列