Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
STAFF
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.