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

marsela meco
marsela meco
511 Points

Self destructing app

2014-01-17 13:07:51.076 FiT[1681:70b] -[LoginViewController setMessage:]: unrecognized selector sent to instance 0xaa88df0 2014-01-17 13:07:51.080 FiT[1681:70b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[LoginViewController setMessage:]: unrecognized selector sent to instance 0xaa88df0' *** First throw call stack: ( 0 CoreFoundation 0x02c3a5e4 exceptionPreprocess + 180 1 libobjc.A.dylib 0x029bd8b6 objc_exception_throw + 44 2 CoreFoundation 0x02cd7903 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275 3 CoreFoundation 0x02c2a90b ___forwarding_ + 1019 4 CoreFoundation 0x02c2a4ee CF_forwarding_prep_0 + 14 5 FiT 0x00009db8 -[InboxViewController prepareForSegue:sender:] + 536 6 UIKit 0x01c6006c -[UIStoryboardSegueTemplate _perform:] + 156 7 UIKit 0x01841280 -[UIViewController performSegueWithIdentifier:sender:] + 72 8 FiT 0x000089ca -[InboxViewController viewDidLoad] + 410 9 UIKit 0x0183f318 -[UIViewController loadViewIfRequired] + 696 10 UIKit 0x01864b15 -[UINavigationController _layoutViewController:] + 39 11 UIKit 0x0186502b -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 235 12 UIKit 0x01865123 -[UINavigationController _startTransition:fromViewController:toViewController:] + 78 13 UIKit 0x0186609c -[UINavigationController _startDeferredTransitionIfNeeded:] + 645 14 UIKit 0x01866cb9 -[UINavigationController __viewWillLayoutSubviews] + 57 15 UIKit 0x019a0181 -[UILayoutContainerView layoutSubviews] + 213 16 UIKit 0x01796267 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355 17 libobjc.A.dylib 0x029cf81f -[NSObject performSelector:withObject:] + 70 18 QuartzCore 0x00f502ea -[CALayer layoutSublayers] + 148 19 QuartzCore 0x00f440d4 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380 20 QuartzCore 0x00f50235 -[CALayer layoutIfNeeded] + 160 21 UIKit 0x01851613 -[UIViewController window:setupWithInterfaceOrientation:] + 304 22 UIKit 0x01770177 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 5212 23 UIKit 0x0176ed16 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 82 24 UIKit 0x0176ebe8 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 117 25 UIKit 0x0176ec70 -[UIWindow _setRotatableViewOrientation:duration:force:] + 67 26 UIKit 0x0176dd0a __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 120 27 UIKit 0x0176dc6c -[UIWindow _updateToInterfaceOrientation:duration:force:] + 400 28 UIKit 0x0176e9c3 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 870 29 UIKit 0x01771fb6 -[UIWindow setDelegate:] + 449 30 UIKit 0x01843737 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 180 31 UIKit 0x01767c1c -[UIWindow addRootViewControllerViewIfPossible] + 609 32 UIKit 0x01767d97 -[UIWindow _setHidden:forced:] + 312 33 UIKit 0x0176802d -[UIWindow _orderFrontWithoutMakingKey] + 49 34 UIKit 0x0177289a -[UIWindow makeKeyAndVisible] + 65 35 UIKit 0x01725cd0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1851 36 UIKit 0x0172a3a8 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 37 UIKit 0x0173e87c -[UIApplication handleEvent:withNewEvent:] + 3447 38 UIKit 0x0173ede9 -[UIApplication sendEvent:] + 85 39 UIKit 0x0172c025 _UIApplicationHandleEvent + 736 40 GraphicsServices 0x0360a2f6 _PurpleEventCallback + 776 41 GraphicsServices 0x03609e01 PurpleEventCallback + 46 42 CoreFoundation 0x02bb5d65 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION_ + 53 43 CoreFoundation 0x02bb5a9b __CFRunLoopDoSource1 + 523 44 CoreFoundation 0x02be077c __CFRunLoopRun + 2156 45 CoreFoundation 0x02bdfac3 CFRunLoopRunSpecific + 467 46 CoreFoundation 0x02bdf8db CFRunLoopRunInMode + 123 47 UIKit 0x01729add -[UIApplication _run] + 840 48 UIKit 0x0172bd3b UIApplicationMain + 1225 49 FiT 0x0000221d main + 141 50 libdyld.dylib 0x04b8070d start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

What does this mean and how can i fix it? I finished a lll tutorials in this chapter. Every time i run it on simulator, all i get is black screen. and xCode screen goes straight to this and shows warning error on Thread 1: signal SIGABRT // // main.m // iFiT // // Created by Erdi Meco on 1/10/14. // Copyright (c) 2014 Erdi Meco. All rights reserved. //

import <UIKit/UIKit.h>

import "AppDelegate.h"

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

Please help me????

Stone Preston
Stone Preston
42,016 Points

what section were you on when it started doing this

2 Answers

Alessandro Covre
Alessandro Covre
7,057 Points

Is it possible there is something wrong on your LoginViewController? Because in the log you can see this line "[LoginViewController setMessage:]: unrecognised selector...", maybe there is something wrong that is related to the "setMessage" method.

Went back and read the error line for line and it's different about the 15th line down sorry...