Every time you add some user interface to your iOS app, Xcode will enable by default the Autolayout flag, which is a PITA because it’s not supported for 5.1 targets.
I found a StackOverflow answer that solves this problem, but it needs to be done every time Xcode is updated.