Could not find a storyboard named 'MainStoryBoard' in bundle NSBundle

前端 未结 27 2616
感动是毒
感动是毒 2020-12-02 15:41

I have started a new app a few days ago and began working with the simulator to test it. I started as an empty project and manually added the storyboard. The simulator build

27条回答
  •  一向
    一向 (楼主)
    2020-12-02 16:00

    Just want to mention scenario I encountered. I don't know how, but storyboard disconnected from the target although it still was part of the project. To fix this I opened storyboard, selected "File Inspector"(leftmost icon on the right panel) and check the project under "Target membership". Hope it helps someone.

提交回复
热议问题