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

此生再无相见时 提交于 2019-12-03 11:21:32

问题


during the progress of my app I decided to change from using a UIStoryboard to .xib file, and now I get the error:

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

How can I fix this problem within the Simulator part of my app?


回答1:


Remove the "Main storyboard file base name" or "UIMainStoryboardFile" Key from your info.plist file.




回答2:


Click Your Story board

then do step 2 and step 3



来源:https://stackoverflow.com/questions/25739477/could-not-find-a-storyboard-named-main-in-bundle-nsbundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!