jack
jack

Reputation: 1921

How-to suppress constraint and layout warnings in Xcode 5 on a storyboard?

is there any flag to suppress Ambiguous Layout or Misplaced views for storyboards in Xcode 5.

I am adding the constraints in code and am just using the views in Interfacebuilder as dummies.

I do not want to apply Xcode Resolve auto layout issues since I am happy how the views appear visually in Interfacebuilder?

Upvotes: 19

Views: 5956

Answers (2)

jack
jack

Reputation: 1921

I needed to completely restart Xcode for the

Interface Builder XIB Compiler - Options 
WARNINGS Flag = NO

to be considered!

Upvotes: 2

NSTJ
NSTJ

Reputation: 3888

Select Project Build Settings -> Interface Builder XIB Compiler - Options -> Show Warnings -> set to "NO"

Note that if you wish to clear existing warnings you can clean your project using Shift+⌘+k

Upvotes: 17

Related Questions