.XIB / .NIB文件无法正确加载 [英] .XIB / .NIB File does't load properly

查看:96
本文介绍了.XIB / .NIB文件无法正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序收到SIGABRT抛出错误消息因未捕获的异常而终止应用程序'NSInternalInconsistencyException',原因:'无法在bundle中加载NIB:...

My application got SIGABRT throwing error message"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: ... "

请帮助...

推荐答案

选择导致SIGBART错误的NIB文件,注意文件检查器并转到目标会员部分。在那里,您将看到您的项目名称,左侧有一个复选框。选中该框(标记为已选中)并构建&运行你的应用程序它应该可以正常工作。

Select the NIB file that is causing the SIGBART error, watch out on the file inspector and go to the "Target Membership" section. There you will see your project name with a check box at it's left. Check that box (mark as selected) and build & run your application. It should work fine.

这篇关于.XIB / .NIB文件无法正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆