Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - Did not find storyboard named "MyStoryboard" referenced from Main.storyboard

This is quite frustrating. I was happily working on Xcode project and everything was working fine. All of sudden, when I again ran the project, got this error :

Did not find storyboard named "MyStoryboard" referenced from Main.storyboard

Haven't touched anything which should bring up this issue. Rather there was no code difference between the code I ran last time and this time.
Now I have gone through solutions suggested (few more as well). But nothing seems to break the ice. Tried these :

  1. Clean project, quit Xcode and open again.
  2. Removing Xcode's derived data
  3. Resetting Main storyboard in project setting

Not at all sure why this happened.

like image 881
Nitish Avatar asked Jan 19 '17 11:01

Nitish


2 Answers

I also had this issue, and solved it by checking target from my ViewController.

enter image description here

like image 162
Changnam Hong Avatar answered Nov 19 '22 02:11

Changnam Hong


I had the same problem and I tried like you all the suggested solutions but it was not enough. My problem was the some of my storyboards were localized, and some others not. So by localizing all my storyboard it resolved the issue. I guess it's because it's now in the same folder.

like image 4
Omaty Avatar answered Nov 19 '22 00:11

Omaty