xcode6新建项目,删除mainstoryboard,新建storyboard报错:failed to instantiate the default view controller for ...

xcode6新建项目,删除了原有的main.storyboard,新建了个storyboard。但是运行程序黑屏,报错为:

Failed to instantiate the default view controller for UIMainStoryboardFile 'ImageExplorer' - perhaps the designated entry point is not set?

上网搜解决办法:

解决方案:在Storyboard中,选择一个view controller作为story board的第一启动界面。


将右侧的 is initial view controller前面打勾,就可以了。

这时左边出现了剪头,原来时没有程序入口,that's all.

posted @ 2022-05-15 21:04  融化的雪0701  阅读(64)  评论(0)    收藏  举报