Did not find storyboard referenced from Main.storyboard

后端 未结 6 2126
轮回少年
轮回少年 2021-01-04 09:31

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, \"

相关标签:
6条回答
  • 2021-01-04 09:32

    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.

    0 讨论(0)
  • 2021-01-04 09:32

    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.

    0 讨论(0)
  • 2021-01-04 09:36

    In my case, I had to add my project target as the target membership of the storyboard.

    0 讨论(0)
  • 2021-01-04 09:45

    Make sure you have set the Storyboard Id in the right side bar. It should be the same value as you reference it.

    0 讨论(0)
  • 2021-01-04 09:47

    Only removing localization from storyboard file helped me. (Delete storyboard file from project and add again)

    0 讨论(0)
  • 2021-01-04 09:57

    For me the refactored Storyboard was missing from Build Phases > Copy Bundle Resources. Adding it manually fixed the issue.

    0 讨论(0)
提交回复
热议问题