I have an iOS project with a storyboard. I recently upgraded to Xcode 4.3.1, and now this new warning appears:
"Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:."
The problem is that I have some Navigation Controllers in the storyboard with no entry points to them. The reason I have them is so that I can embed other views in them to see the nav bar at design time in Xcode. The actual navigation controller these views are pushed onto at runtime are not in the storyboard (old code that hasn't been ported to the storyboard yet).
Has anyone found a nice workaround for this? I would like to keep my code clean without warnings.
You can just set an identifier. In Xcode >5 on the identity inspector on the right pane, you'll find a field called "Storyboard ID". Put any string in there, and Xcode will be happy again.
It just wants to know you could reach it (via that identifier) if you wanted to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With