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

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

    I thought you may have deleted the storyboard and decided to use a .xib file on initial app launch. In this scenario, Xcode would try to find a nonexistent storyboard.

    For this case, click on the Project > Info > Custom iOS Target Properties and delete this key value pair: Main storyboard file base name

提交回复
热议问题