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/
3.Xcode6.1模拟器ios8.1模拟器不能弹出虚拟键盘及虚拟键盘无法切换中文输入的解决办法,xcode6.1ios8.1
1).不能弹出虚拟键盘的解决办法
模拟器菜单Hardware->Keyboard->Connect Hardware Keyboard取消选中,快捷键commad+shift+K
2).虚拟键盘无法切换中文输入法的解决办法
首先、模拟器设置->通用->键盘->键盘->添加新键盘->简体中文(英文环境下:Settings->General->Keyboard->Keyboards->Add New Keyboard->Chinese(Simplified))
然后、Xcode菜单Product->Scheme->EditScheme->Options->Application Region->中国
4.OC中ARC forbids explicit message send of release错误
ARC forbids explicit message send of'release'
解决办法:选择项目,双击中间的工程名称,进入build setting
将中间的Objective-C Automatic Reference Counting改为no