iOS 8 & Xcode 6:解决Failed to instantiate the default view controller for UIMainStoryboardFile 'Main'

把默认Main.storyboard的默认scene(情景)删除后,拖入新的ViewController,并指定其关联的ViewController类,运行程序。控制台输出信息如下:

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

原因是没设置初始化ViewController。在场景中找到需要充当初始化界面的视图控制器,在其Attributes Inspector(属性检查器)中找到View Controller分区,勾选Is Initial View Controller即可,如下图所示。

iOS 8 & Xcode 6:解决Failed to instantiate the default view controller for UIMainStoryboardFile 'Main'

时间: 2024-10-17 18:16:01

iOS 8 & Xcode 6:解决Failed to instantiate the default view controller for UIMainStoryboardFile 'Main'的相关文章

ios常见错误之 Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?

Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set? 这是因为给你的StoryBoard没有设置默认显示的controller, 解决方法: from:http://my.oschina.net/u/936286/blog/316565 ios常见错误之 Failed to instanti

故事板无法运行:Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?

Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set? 在拖拽其他项目的故事板的时候,出现的错误,xcode6运行后出现.意思是没有在StoryBoard中给view controller设置Initial Scene. 解决办法是: 先选中当前有问题的故事板 然后修改 勾选 is initi

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

错误现象: XCODE 6.1 在使用storyboard时,报错:Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set? 原因分析:在StoryBoard中没有一个view controller设置了Initial Scene. 解决方案:在Storyboard中,选择一

IOS 错误:Failed to instantiate the default view controller for UIMainStoryboardFile

报错:Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set? 原因分析:在StoryBoard中没有一个view controller设置了Initial Scene. 解决方案:在Storyboard中,选择一个view conroller作为story board的第一

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

自己新建了一个MyMain.storyboard,使用时报了一个错误如下: 2014-11-12 23:57:08.633 ToDoList[4666:2068874] Failed to instantiate the default view controller for UIMainStoryboardFile 'MyMain' - perhaps the designated entry point is not set? 原因分析:StoryBoard中没有一个view control

Failed to instantiate the default view controller

1, Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set? 这是因为给你的StoryBoard没有设置默认显示的controller, 解决方法:

iOS开发常见错误解决方法

1.出现下面的错误: StoryboardApp[8593:207] Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set? 这个问题的原因应该是在你的StoryBoard中没有一个view controller设置了Initial Scene.您需要选择一个view co

iOS "Xcode process launch failed: Security" in iPhone 6, iOS 8 -解决方案

问题重述: 在iOS 8中第一次运行App,Xcode出现弹出框:"Xcode process launch failed: Security" 解决方案: "If you get this, the app has installed on your device. You have to tap the icon. It will ask you if you really want to run it. Say "yes" and then Buil

Xcode 8 支持 iOS 7 真机解决过程记录

领导要求不放弃iOS 7 用户,所以我们Xcode 8 上面支持ios 7 必须要解决! 解决方法(过程): 1.应用程序--Xcode(原来的Xcode 7)-- 显示包内容--Contents--Developer--Platforms--iPhoneOS.platform--DeviceSupport 把里边 7.0 7.1 的文件夹粘贴到Xcode8 对应的文件夹内 2.应用程序--xcode (Xcode8)-- 显示包内容--Contents--Developer--Platform