.XIB / .NIB File doesn't load properly

流过昼夜 提交于 2019-12-11 05:52:23

问题


My application got SIGABRT throwing error message:

"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: ... "


回答1:


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.



来源:https://stackoverflow.com/questions/12702725/xib-nib-file-doesnt-load-properly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!