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.
If you're using XCode 11.4. 1, try to find LaunchScreen. storyboard instead in the project navigator.
To get this, open the storyboard, click the 'assistant' editor, click the 'assistant editor menu button' (immediately to the right of the > arrow at the top left of the assistant window) and select Preview.
Step 2: Delete the Storyboard Your new project has been created, now navigate to the left side of your interface, select the “Main. storyboard” file in the main folder, left-click and hit delete.
Select Modeling > Storyboard from the toolbar. Right click on the storyboard to rename and select Rename Storyboard… from the popup menu. Click OK to confirm the new name.
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.
Make sure you have set the Storyboard Id in the right side bar. It should be the same value as you reference it.
Only removing localization from storyboard file helped me. (Delete storyboard file from project and add again)
In my case, I had to add my project target as the target membership of the storyboard.
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.
For me the refactored Storyboard was missing from Build Phases > Copy Bundle Resources. Adding it manually fixed the issue.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With