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 Build a Simple iPhone App with Swift Views and View Controllers View Controllers and IBAction

Patrick Li
Patrick Li
2,434 Points

println doesn't work

When i use my xcode, when i press the button, it doesn't say you pressed me in the consol, instead it brings up some problem in the @UIAplicationMain, and says Thread 1: dignal SIGABRT

1 Answer

Jake Adam
Jake Adam
9,226 Points

I had this same problem with the new Xcode and all I did to fix it was completely restart a new project and delete the old one.

Patrick Li
Patrick Li
2,434 Points

Thanks! It works now!

Peter Petrash
Peter Petrash
4,602 Points

Thanks, this worked for me too