首页 > 移动平台 > 详细

iOS Interface builder was unable to determine the type of xxx.xib / xxx.storyboard

时间:2015-04-14 12:51:23      阅读:578      评论:0      收藏:0      [点我收藏+]

上午开工程出现, "Interface builder was unable to determine the type of xxx.xib" 错误
svn上报冲突(conflict),xib文件爆红

郁闷

百度 google stack 没有找到答案

于是只能,喝口奶自己研究
xib的真身是xml文件,

于是右键 OpenAs Source Code技术分享
看源代码
打开便看到嫌疑犯 技术分享
根标签下有冲突,于是,将"==="删除.删除后编译 又爆出 "Extra content at the end of the document at 331Line" 错误
找到331行,是xml文件的最后一行,错误说"有多余内容"
回到刚才删除冲突的位置,发现有两个根标签,一模一样内容,xml标签只允许一头配一尾,所以尝试删一个
编译,ok

前一晚刚升级了xcode 和 mac系统, 应该是升级系统产生的冲突吧 

iOS Interface builder was unable to determine the type of xxx.xib / xxx.storyboard

原文:http://www.cnblogs.com/aaalice/p/4424485.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!