8

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?

Riley Testut
  • 431
  • 1
  • 8
  • 22
  • worked for me https://stackoverflow.com/questions/48029309/cannot-compile-any-c-programs-error-unknown-type-name-uint8-t/48046542# – sierra101 Sep 19 '19 at 18:12

1 Answers1

14

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

enter image description here

chown
  • 51,908
  • 16
  • 134
  • 170