更新为Xcode8之后,xib出现如下错误的解决:这是Xcode7转换成8造成的xib冲突
Interface Builder can’t determine the type of “XMCalenderViewItem.xib”. This may be due to a missing SDK.
找到对应的xib文件然后右键—Open As —— Source Code
才能看到冲突的代码,如下图:
删除冲突代码,然后编译、运行就可以了