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

App Paused - Thread 1: signal SIGABRT

Recently when i try run some of my Xcode projects on my phone the app launchscreen comes onto the screen on the phone and stays there. In Xcode it says PID 3896 Paused, it also says Thread 1:signal SIGABRT

heres the target output

2015-04-24 18:41:46.950 AVspeechTest[3879:627476] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x145827b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key btn.' *** First throw call stack: (0x2be5c137 0x39eecc77 0x2be5be45 0x2caefc95 0x2cb01fa3 0x2bdaa147 0x2f867681 0x2f77eba7 0x2f5b290d 0x2f496599 0x2f49651d 0x2f49c647 0x2f499fbf 0x2f5050e1 0x2f6f8567 0x2f6fab2f 0x2f705809 0x2f6f92e7 0x3291cec1 0x2be22255 0x2be21519 0x2be20073 0x2bd6b9a1 0x2bd6b7b3 0x2f4fbab7 0x2f4f6695 0x70d11 0x3a494aaf) libc++abi.dylib: terminating with uncaught exception of type NSException

Theres no errors in my code, and its bee doing with to a couple of my apps

(latest version of Xcode)

1 Answer

That error is usually caused by orphan outlets or actions.

Go to your storyboard and switch to the Connections Inspector. You may have a connection that's not connected!

Hope that helps!

Steve.

That was the issue, i fixed it and it works fine. I created a new view controller (VC #2)with only one text view and i now get the same error when press the button to go from VC #1 to VC #2

So have you done the same thing again? Did you have a couple of attempts to get the drag & drop right? It is so easily done ... I've messed up the drag & drop or deleted the button and started again without thinking about the connection.