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 Improving Our User Interface Adding a Pop of Color

class AppDelegate: UIResponder, UIApplicationDelegate

building the FunFacts app, my ios build runs successfully. But once I click on the button, it doesn't generate another random fact. Instead it sends me directly to the AppDelegate.swift page and highlights the entire first line. With a note to the right that says "Thread 1: signal SIGABRT

2 Answers

Pasan Premaratne
Pasan Premaratne
Treehouse Teacher

jay whitley

Looks like you have a bug in your code. The next stage (Debugging Our App) walks you through how to debug issues when they arise. Give that stage a go and see if you can figure things out. If not, post some of your code in here.

Alice Kasper
Alice Kasper
4,362 Points

YES.... This bug has happened to me on 2 different Macs. I looked online, some seem to say it was a beta Xcode 6 problem. Others have pretty complicated fixes. I haven't tried to dig in deep yet but I'm pretty sure it would be faster to redo the entire thing than try to fix that issue.