Reputation: 123
I am using Xcode 7.1 and I am using storyboard references to go to different storyboards. The problem is everytime I run the simulator, there is an error that says, "Did not find storyboard named "Storyboard" referenced from Main.storyboard"
. But the storyboard reference is set to go to "Storyboard"
. So I need some help. Thanks in advance!
Here is my view.
Upvotes: 12
Views: 6641
Reputation: 5038
XCODE 12.2
this error happened for several issues, so check the following checklist:
1 - define the initial view controller in the destination storyboard or check the storyboard id that you put is the same as the storyboard id in the destination storyboard.
2 - the destination storyboard target memberships must include all targets that checked on the first storyboard.
3- check all the localization in the destination and the first storyboard are the same.
Upvotes: 1
Reputation: 1452
For me the refactored Storyboard was missing from Build Phases > Copy Bundle Resources. Adding it manually fixed the issue.
Upvotes: 1
Reputation: 18483
This happened to me when the one storyboard was using "Base" localization and the other "English". They need to match up or you will get linker errors.
Upvotes: 3
Reputation: 317
In my case, I had to add my project target as the target membership of the storyboard.
Upvotes: 3
Reputation: 754
This problem can also arise if you have somehow managed to uncheck the Target and you are running the project for that Target. Make sure you have checked all the targets you want to run the project on.
Upvotes: 33
Reputation: 13698
Only removing localization from storyboard file helped me. (Delete storyboard file from project and add again)
Upvotes: 6
Reputation: 3696
Make sure you have set the Storyboard Id in the right side bar. It should be the same value as you reference it.
Upvotes: 6