Xcode Project-Wide compiler flag

回眸只為那壹抹淺笑 提交于 2019-12-30 04:40:33

问题


With Xcode 4.2 and the LLVM compiler, when compiling for ARMv6 there are some very weird bugs in the generated application (such as "width" property of CGSize returning the "height" instead). To fix this, I found I must set the compiler flag -mno-thumb. I know how to set compiler flags on a file-by-file basis, but is there a way to set a compiler flag for the entire project?


回答1:


You can set project wide compiler flags in the project settings under the "Language" section of the "Build Settings" tab.



来源:https://stackoverflow.com/questions/7932834/xcode-project-wide-compiler-flag

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!