码迷,mamicode.com
首页 > 移动开发 > 详细

iOS开发常见错误解决方法

时间:2015-09-30 06:18:11      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

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 conroller作为story board的第一个界面:

技术分享

2.出现错误:

Receiver XXX type for instance message is a forward declaration

关闭工程的ARC(Automatic Reference Counting)

技术分享

 

附带 ARC 教程:http://www.onevcat.com/2012/06/arc-hand-by-hand/

iOS开发常见错误解决方法

标签:

原文地址:http://www.cnblogs.com/AAYuan/p/4847713.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!