Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Could not find a storyboard named 'MainStoryboard' in bundle NSBundle"

I've been working on a application for a long time now and out from the blue i got this:

"Could not find a storyboard named 'MainStoryboard' in bundle NSBundle"

I've red the similar questions here on StackOverflow and i tried everything including: - Renaming the storyboard file - Re-adding the storyboard file - Cleaned the project - Reset contents and setting on the simulator

I've also checked the plist file and the Copy Bundle Resources and the storyboard name is as it should be. Nothing of this works.

I'm developing the application with a friend and we are using Git. The weird thing is that the same version works just fine for him.

However, in the Copy Bundle Resources the MainStoryboard.storyboard and InfoPlist.strings are red. But they have been red for a long time without any troubles. And my friend (for which the project works fine) they are also red.

enter image description here

Ideas?

like image 270
Michael Avatar asked Apr 11 '13 14:04

Michael


1 Answers

I would suggest to check that this file is not localized (with no actual localization), to remove the localization and to re-add the file.

If this does not work, have you tried to clone a fresh copy of the project from Git?

like image 96
MonsieurDart Avatar answered Oct 30 '22 17:10

MonsieurDart