nfoggia
nfoggia

Reputation: 513

My app used to build properly but now it crashes when i try to build

When I build it this is what the console says.

2012-07-18 14:23:41.351 Ink Wall[915:f803] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'MainStoryboard_iPhone' in bundle NSBundle (loaded)' * First throw call stack: (0x13cc022 0x155dcd6 0x4409f2 0x15d60 0x15ff8 0x1517f 0x24183 0x24c38 0x18634 0x12b6ef5 0x13a0195 0x1304ff2 0x13038da 0x1302d84 0x1302c9b 0x14c65 0x16626 0x222d 0x2195) terminate called throwing an exception(lldb)

When I run the code it brings me to this code in the main.m file

#import "AppDelegate.h"

int main(int argc, char *argv[])
{
@autoreleasepool {
    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

It stops here and highlights the "return UIApplicationsMain... line saying:

thread 1: signal Sigabrt

Upvotes: 0

Views: 450

Answers (1)

Mick MacCallum
Mick MacCallum

Reputation: 130193

Well plain and simple.. according the that error, your storyboard "MainStoryboard_iPhone" no longer exists in the project.

Make sure that the actual name of your storyboard is an exact match to this:

enter image description here

Upvotes: 3

Related Questions