.XIB / .NIB File does't load properly

2019-07-31 09:29发布

问题:

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

Please help ...

回答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.