I had my app working normally on the iPhone Simulator but strangely Xcode stopped responding and i had to Force Quit Xcode. When I restarted Xcode i encountered “Could not find a storyboard named MainStoryboard….”,
I have fixed this issue by following below steps:
- Renaming “MainStoryboard.storyboard” to “MainStoryboard_1.storyboard”
- Open file “$your_app$-Info.plist” located in “Supporting Files” folder. Edit “Main storyboard file base name” to “MainStoryboard_1.storyboard”.
- Rerun the app, and it worked for me.
- I renamed my storyboard file back to its original “MainStoryboard.storyboard”.
- Edited the .plist file back to its original.
- Rerun the app, and it worked for me.
For some reason the file “MainStoryboard.storyboard” was not recognised after force quitting Xcode and following above steps made the app recognise the file back again.
Hope this solution helps..