What is “Other Storyboard Compiler Frames” in Xcode5

I support an interesting application (target iOS6). After fixing all the existing compiler warnings and many other things found by static code analyzers, I don't have enough warnings to fix it. Already added -Wall and -Werror , which does not really want to add the rest.

Then I found something interesting that still seems completely unknown to google or StackOverflow!

The Xcode5 project “Build Settings” has a subsection called “Interface Composer Storyboard Compiler - Options” . Four cases are pretty clear:

  • Smooth Compiled Storyboard Files (YES)
  • Show Errors (YES)
  • Show posts (YES)
  • Show Warnigns (YES)

Question : What can I put in Other Flags of the Storyboard Compiler ? Where can I find more information?

+6
source share
1 answer

With the Other Storyboard Compiler Flags you can pass ibtool command line ibtool . A list of flags is available here . I assume that you would like the Xcode interface error warnings to be treated as errors. It seems that such an argument is not available as Xcode 7.3.

In the "Build Settings" section, under the heading The XML Builder Compiler, there is another section that also targets ibtool , and you can pass the same parameters. Xcode 7.3 passes flags: --warnings --errors --notices among others by default. ibtool will fail if you pass an argument that it does not recognize.

+3
source

Source: https://habr.com/ru/post/971848/


All Articles