Example. I write the following string in my old project and a new, clear one:
UIInterfaceOrientation k = [UIApplication sharedApplication].statusBarOrientation;
It seems the difference is lldb/gdb debugger. The only way for iOS project to make debugger more workable is expr @import UIKit
. But it may not work for older xcode versions and... you need to input this string in the console after each relaunch. The only way to automate it is an extra breakpoint with this expression.