Interface builder was unable to determine the type of xxx.xib
来源:互联网 发布:巨灵数据 编辑:程序博客网 时间:2024/05/02 04:27
前言
今天在合并分支代码到主干的过程中,遇到xib文件无法识别,导致运行失败。
解决思路
可以想到,应该是合并造成xib文件版本冲突,一种简单的方式可以拿最新的版本直接覆盖出问题的xib文件。但是这种办法简单粗暴,没有深入探究该xib文件问题到底出在哪里。联想到代码发生版本冲突时,头文件或实现文件中,会标记出冲突的代码,那么出问题的xib文件对应的源码中同样也应该存在冲突的代码。带着这样的想法,我打开了该xib文件的源码。
选中xib文件->右键->Open As->Source Code,打开xib文件对应的xml文档:
可以清楚地看到,冲突的地方已经被标记出来。原因是toolsVersion和systemVersion版本冲突,是最近升级系统和Xcode引起的。去掉working的部分,重新运行就OK了~
0 0
- Interface builder was unable to determine the type of xxx.xib
- Interface builder was unable to determine the type of xxx.xib
- iOS Interface builder was unable to determine the type of xxx.xib
- Interface builder was unable to determine the type of xxx.xib
- 解决异常Unable to determine the provider name for connection of type SqlCeConnection的方法之一
- Inteface Buidler can't determine the type of "xx.xib" this may be due to a missing SDK.
- Interface Builder could not open the document "xxx.xib" because it does not exist.
- Interface Builder could not open the document "xxx.xib" because it does not exist.
- proftpd启动失败提示unable to determine IP address of “xxx.com”
- Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'"
- Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.E
- Android开发报错:GoogleApiClient.isConnected()' was expected to be of type interface but instead was ...
- platform builder was unable to read the device settings from the datastore问题解决
- form builder was unable to read the device settings from the datastore问题解决
- platform builder was unable to read the device settings from the datastore问题解决
- Platform Builder was unable to read the device settings from the datastore
- Warning: Unable to determine the number of frames in this file
- matlab:Warning: Unable to determine the number of frames in this file.
- 欢迎使用CSDN-markdown编辑器
- 为何旅途中容易有艳遇?
- IOUtils的简单介绍
- 设计模式系列之 目录
- 泛型之类型推导
- Interface builder was unable to determine the type of xxx.xib
- Windows Server 2008在密码策略里禁用复杂密码
- Java工具类实现校验手机号码的有效性
- 一文读懂机器学习,大数据/自然语言处理/算法全有了……
- JdbcTemplate底层操作在IN语句中传入一组参数值实例
- 导入excel错误:外部表不是预期的格式 解决方案
- 浙江大学PAT_乙级_1033. 旧键盘打字(20)
- java io 学习之三 字符流的缓冲区
- 欢迎使用CSDN-markdown编辑器