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

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

    I had similar problem and I was getting the following error.

    exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'MainStoryboard_iPhone' in bundle NSBundle
    

    I fixed it by updating the plist file. Simply goto Edit->Find->Find in Workspace and search for "story". Now update the appropriate name for the story board.

提交回复
热议问题