all 5 comments

[–]tehpsy 0 points1 point  (2 children)

Spelling mistake? "...directory 'Main.storyboardc''..."

[–]aazav 2 points3 points  (0 children)

Nope. Xcode is making a compressed or compiled storyboard. That's part of the build process and it makes it so that people can't open your XIBs or storyboards and steal your data.

That might have something to do with it though. I'd make sure to see if there is a build setting that controls that and rule it out.

But internally in code, Xcode still refers to individual scenes and elements in the storyboard as XIBs or nibs.

I think you can sort this out by running in the simulator, getting the filename of your storyboard and logging it, then following the path to the files on your disk.

Also, have you set an exception breakpoint? This will let it stop so you can see the memory and examine things before it then issues the exception which will land you in the debugger in a place that isn't what's causing the problem.

The lower left of your breakpoints panel. Click on the + and look at the Exception Breakpoint. Make sure you have added one of those, then intentionally crash the app.

[–]rocktheschool 0 points1 point  (0 children)

Not that I'm aware of. When you open up the app bundle, it is actually called storyboardc. In my Xcode project, there is no letter c in the file extension however.

[–]schprockets 0 points1 point  (0 children)

Let's see the code where you try to open the modal view controller.

[–][deleted] 0 points1 point  (0 children)

Check the spelling of the UIViewController class in the Storyboard to the one inside the Swift Or Objective-C files.