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

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

问题描述

我的应用程序收到SIGABRT引发错误消息:

My application got SIGABRT throwing error message:


由于未捕获的异常'NSInternalInconsistencyException'而终止应用程序,原因:'无法加载捆绑在一起的NIB:...

"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天全站免登陆