Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Diary App Using Core Data Listing Data using NSFetchedResultsController Section Headers and Table View Cells

Matt Barth
Matt Barth
5,060 Points

Having an error saying cant load NIB in bundle . Brings me to main.m file when it crashes. Help

2015-05-26 10:58:43.405 Diary[64427:1778382] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/MattBarth/Library/Developer/CoreSimulator/Devices/FFF2CE9F-9BAC-48EA-81A6-1D1FD4B8C9C7/data/Containers/Bundle/Application/EFF5CD43-CB07-41DD-8ED3-42BB893850A1/Diary.app> (loaded)' with name 'MainStoryboard'' *** First throw call stack: ( 0 CoreFoundation 0x00ced746 exceptionPreprocess + 182 1 libobjc.A.dylib 0x005c0a97 objc_exception_throw + 44 2 CoreFoundation 0x00ced66d +[NSException raise:format:] + 141 3 UIKit 0x013f5e2f -[UINib instantiateWithOwner:options:] + 1003 4 UIKit 0x013f7fd2 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 180 5 UIKit 0x010ab66b -[UIApplication _loadMainNibFileNamed:bundle:] + 58 6 UIKit 0x010ab984 -[UIApplication _loadMainInterfaceFile] + 245 7 UIKit 0x010aa2f4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1337 8 UIKit 0x010c393e __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 59 9 UIKit 0x010a904a -[UIApplication workspaceDidEndTransaction:] + 155 10 FrontBoardServices 0x0364fc9e __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71 11 FrontBoardServices 0x0364f72f __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54 12 FrontBoardServices 0x03661d7c __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 30 13 CoreFoundation 0x00c0f050 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 16 14 CoreFoundation 0x00c04963 __CFRunLoopDoBlocks + 195 15 CoreFoundation 0x00c047bb __CFRunLoopRun + 2715 16 CoreFoundation 0x00c03a5b CFRunLoopRunSpecific + 443 17 CoreFoundation 0x00c0388b CFRunLoopRunInMode + 123 18 UIKit 0x010a8a02 -[UIApplication _run] + 571 19 UIKit 0x010ac106 UIApplicationMain + 1526 20 Diary 0x000da4ba main + 138 21 libdyld.dylib 0x03079ac9 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

Ryan Summe
Ryan Summe
4,618 Points

Did you figure this out? Looks like your storyboard isn't correctly wired up or else you have a conflicting method in you AppDelegate or something.