In Xcode 14 RC, I'm seeing this in the Console:
[Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems. navigationController=<MasterNavigationController: 0x135016200>, navigationBar=<UINavigationBar: 0x134f0aec0; frame = (0 20; 0 50); opaque = NO; autoresize = W; layer = <CALayer: 0x600000380be0>> delegate=0x135016200
The above message displays exactly four times immediately at app launch (top of the console) then does not repeat.
MasterNavigationController is the internal class for the app's navigation controller. It is in a Storyboard, with very minimal ObjC code. I am not setting any specific size for the nav bar.
I don't remember seeing this in earlier builds of Xcode, but I can't swear to it that this is new. No assertion actually fires.
I also find that promblem.
**How I fix it. **
If you use storyboards. Take the arrow(Attribute inspector-> is initial view controller) from Navigation View Controller in storyboard and put it in your next View Controller.
Simplify change initial view controller in storyboard
TimMan, this fixes the logs, but disables the nav controller.