Creating an iPhone Application in Xcode 4.1.1 - Program received signal “SIGABRT”?

The mainWindow. Xib is trying to connect it's UIWindow instance with your UIApplicationDelegate's and it can't find it (that's why it complains it can't set the value for an UNDEFINED key).

The mainWindow. Xib is trying to connect it's UIWindow instance with your UIApplicationDelegate's and it can't find it (that's why it complains it can't set the value for an UNDEFINED key). Check your UIApplicationDelegate class has a UIWindow iVar, a property in its .

H and it's correctly synthesized in its .m. EDIT Who's calling the method switchPage: on UIApplication? If you are, you're calling it on the wrong object.

Instead of doing UIApplication sharedApplication switchPage:xxx; You should do: UIApplication sharedApplication delegate switchPage:xxx; Since the method switchPage: is defined in the UIApplicationDelegate class.

Ive checked both files and the UIWindow seems ok....? In the . H file: '#import "TruckFileAppDelegate. H" @ interface TruckFileAppDelegate : NSObject { UIWindow *window; ViewTwoController *viewTwoContoller; UINavigationController *navigationController; } @ property (nonatomic, retain) IBOutlet UIWindow *window;' In the .

M file: '@ synthesize window;' Thanks =, I'm a bit confused now...i've tried a lot of different things but am quite stuck. All I want is one page to go to another / it to run on an iPod touch / iPhone. – Sian Sep 9 at 15:19 Mmmmm... definitely that exception is because you have a IBOutlet connection in one of your .

Xibs that points to something that doesn't exist in the controller. Check all of your . Xib files in the connections tab for something with a (!).

– Javier Soto Sep 9 at 18:30 Now that I think about it, I think it may be because there's a missing connection! Check the MainWindow. Xib has the object Window at the left connected to the window IBOutlet of the appDelegate – Javier Soto Sep 9 at 18:32 Thankyou for your help but it still doesn't seem to work.... :( I've tried the connections & they are all connected.

– Sian Sep 9 at 8:09 Thanks for your help @javier – Sian Sep 9 at 15:54.

Your code fails at UIApplication switchPage:.

– Sian Sep 9 at 11:37 more code please, especially the segment of UIApplication switchPage:: – jussi Sep 9 at 11:38 I'm trying to add more code but it will not allow me to format it correctly :S. I'll add it to the main question. – Sian Sep 9 at 12:35 is you nib file named ViewTwo.

Xib oder ViewTwoController. Xib? – jussi Sep 9 at 12:35 ViewTwoController.

Xib is the second page i'm trying to go too. I have two pages; MainWindow_iPhone. Xib with TruckFileAppDelegate.

H & . M and then ViewTwoController. Xib & .

M & . H I'm trying to go from the main page to the ViewTwo page. Thanks for your help, I appreciate it!

– Sian Sep 9 at 12:41.

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-UIApplication switchPage:: unrecognized selector sent to instance 0x600beb0' This means that in your switchPage method, you are giving an action to an unknown identifier, maybe check the object identifier name, and check if you have initialized it in your . H file.

I've initialised my . H file but it has a yellow warning saying "incomplete implementation of class" but it is compiling & building fine and saying build succeeded. I followed Jussi's comments above by renaming my nib but it now won't launch, it just displays a black screen on the iPod Touch, displays the SIGABRT on the same line & in debugging displays "2011-09-09 14:27:08.440 TruckFile124:707 *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: ' setValue:forUndefinedKey:: this class is not key value coding-compliant for the key window.'" – Sian Sep 9 at 14:12 Check my edit on my answer.

– Javier Soto Sep 13 at 9:15 Thankyou @Javier = your answers proved very helpful! – Sian Sep 13 at 15:54.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions