ios - 无法解码 IBUITableViewCellContentView 的实例错误 ios
<p><p> <img src="/image/ciZEm.png" alt="Error:"/> </p>
<p>大家好,当我尝试编译我的 iOS 应用程序时,我收到错误消息,指出无法打开 .xib。我在网上环顾四周,找不到任何有效的方法。有什么建议么?还是我应该重新创建 xib?</p>
<p>提前致谢</p>
<p>编辑:我现在可以通过从复制包资源中删除 .xib 来编译应用程序,但是在运行时我得到了</p>
<pre><code>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/username/Library/Application Support/iPhone Simulator/7.0/Applications/CE59BF1F-1A6D-46F9-8787-E957FDA6F788/customtablecelltest.app> (loaded)' with name 'CustomTableCell''
</code></pre>
<p>我很确定 .xib 必须在副本包资源中,所以我把它放回去了。对原始问题的任何修复</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我注意到这是针对模拟器 v7.0 的。您是否在 7.0 之前启动了该项目?我刚遇到这个问题,删除了模拟器项目文件夹并重建(如果你偏执,只需重命名/mv)。</p>
<p>尝试重命名或移动您的模拟器项目文件夹并重新构建。你的似乎是:
/Users/username/Library/Application Support/iPhone Simulator/7.0/Applications/CE59BF1F-1A6D-46F9-8787-E957FDA6F788/customtablecelltest.app</p></p>
<p style="font-size: 20px;">关于ios - 无法解码 IBUITableViewCellContentView 的实例错误 ios,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/17868942/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/17868942/
</a>
</p>
页:
[1]