XCode warning:“View Controller” is unreachable because it has no entry points

Unsupported Configuration: “View Controller” is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].

直译:不支持的设置:"View Controller"是不能被取到的,因为它没有程序入口指针,也没有标识符以供方法[UIStoryboard instantiateViewControllerWithIdentifier:]在运行时获取。

分析:相当于你创了一个UIViewController却什么都没设置。

解决方案:干掉,或者起个标识符并使用。

时间: 2025-01-02 00:10:24

XCode warning:“View Controller” is unreachable because it has no entry points的相关文章

Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier解决办法

使用Storyboard时出现以下警告: warning: Unsupported Configuration: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:. 大意是为了在程序中动态访问Scene,需要给其设置一个Storyboard ID,所以给出了

Scene is unreachable due to lack of entry points and does not have an identifier for runtime access

使用Storyboard时出现以下警告: warning: Unsupported Configuration: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:. 大意是为了在程序中动态访问Scene,需要给其设置一个Storyboard ID,所以给出了

故事板无法运行: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 '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

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

关于storyboard Scene is unreachable due to lack of entry points and does not have an identifier for runtime access报警

1.检查 isinitial viewcontroller 选项是否选中(程序默认加载的控制器). 2.如图,故事版中有个vc 没有任何指向,也会出现该警告.

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.在场景

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 '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中,选择一