Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Scene is unreachable due to lack of entry points and does not have..." - solution this warning

The full warning is

Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via- instantiateViewControllerWithIdentifier:.

I have used Xcode-7.01, why this warning is coming and what is the solution ?

like image 798
PT Vyas Avatar asked Dec 14 '25 05:12

PT Vyas


2 Answers

You can fix that issue in two ways.

  1. Specify a segue to that view controller
  2. Specify a storyboard identifier for that particular scene

Storyboard ID

like image 173
Midhun MP Avatar answered Dec 16 '25 07:12

Midhun MP


When the scene is the only scene in the storyboard, you might need to specify that your viewController is the initial view controller, like this:

set initial ViewController

This creates an entry point for the storyboard. If the entry point is another viewController, create a segue to or provide a storyboard ID for the problematic scene, like Midhun MP suggests.

like image 28
Tuslareb Avatar answered Dec 16 '25 07:12

Tuslareb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!