Could not find a storyboard named 'X' in bundle NSBundle But I already have

Viewed 40

this is my first q. here. I saw that lots of ppl getting this error time to time but mine is kinda different. Im getting this error but I already have a storyboard called 'MusicList' I checked couple of times there's no misspelling or something. And as u can see I tried to debug to know is there any other problem except this part of the code but no, I just can't do my storyboard exact same name with my storyboard. Am I missing something ? PS: I deleted my main.storyboard and also in info plist and build phases part.

Part1 Part2

1 Answers

Follow the steps below:

  1. Right-click on your Storyboard and select delete enter image description here

  2. There will be a confirmation prompt, select Move to Trash enter image description here

  3. Now Right-click on your file directory and select New File enter image description here

  4. Select Storyboard from the list and press Next enter image description here

  5. Give the proper name of your storyboard and hit create enter image description here

  6. Now select your Storyboard and select your File inspector from the right panel and ensure that the tick mark is there on the target. enter image description here

  7. Now select your Project name, select the project target and change the Main Interface option by your newly created storyboard. enter image description here

  8. Now clean (shift + command + k) the whole project and build it.

Related