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

前端 未结 27 2707
感动是毒
感动是毒 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:15

    The solution for me was, that I just needed to add the MainStoryboard to the Bundle Resources. After that, it works fine.

    Project -> Build Phases -> Copy Bundle Resources -> click on the + button and add your file.

提交回复
热议问题