Interface Builder could not open the document “.storyboard” because it does not exist

悠悠 2022-09-26 13:00 127阅读 0赞









在git上check out代码,发现报错:Interface Builder could not open the document “.storyboard” because it does not exist.,看了一下导航视图,发现有storyboard,右键show in finder也确实存在


解决方案:



  1. 点击工程图标

  2. Build Phases-搜索 Storyboard 名字

  3. 删除名字重复的,内容显示为空的storyboard

  4. 重新编译,运行


发表评论

表情:
评论列表 (有 0 条评论,127人围观)

还没有评论,来说两句吧...

相关阅读