错题集---Could not find a storyboard named 'main' in bundle NSBundle

 

错题集---Could not find a storyboard named 'main' in bundle NSBundle 


step1:选中项目名后在TARGET中找到 info 而后修改 Main storyboard file base name的值为咱们项目中storyboard得名称。ui


step2:点击Build Phases 后在Copy Bundle Resource下把咱们项目的storyboard加进去,没有Copy Bundle Resource这一项的话能够在位置1处点击添加。spa


经过以上两步就能够肯定咱们的storyboard加入到项目中,而且被正确引用。orm




相关文章
相关标签/搜索