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 Playlist Browser with Swift Building the Music Library and Playlist Models Passing the Playlist Object

Travis Trevisan
Travis Trevisan
5,846 Points

signal SIGABRT?

my 'Algorhythm' app is having trouble running in the simulator

I keep getting the error "signal SIGABRT" in the AppDelegate.swift file.

5 Answers

Hi Travis,

Open up your simulator select iOS simulator menu and reset content and settings. Also check your storyboard file for orphan referencing outlets.

This should fix your problem.

Travis Trevisan
Travis Trevisan
5,846 Points

tried reseting content and settings, also checked the storyboard file for orphan referencing outlets. no success =(

I tried resetting and beginning the project from scratch, but came into the same problem into the 3rd video =/

the error code appears in an early line of the AppDelegate.swift file

I file I have not edited =/

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f84a0f1f8a0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key aButton.'

Can you share the project with me via GitHub? or DropBox.

Travis Trevisan
Travis Trevisan
5,846 Points

here is a link to a zip file of the project http://we.tl/x7wcSJ6qNm

thank you!

Just got home.. I'm taking a look now.

Ok Travis,

Here is what I did to fix the program.

  1. Open the storyboard file. Delete ALL referencing outlets for both the image and the button.

reconnect the IBOutlets @IBOutlet weak var aButton: UIButton! (drag this to the button) @IBOutlet weak var playlistImageView0: (drag this to the image)

  1. Remove the push segue and add another one. Don't forget to set the identifier to showPlaylistDetail
heinz meza
heinz meza
4,788 Points

I'll try this when i get home . but in the meantime please look at the error I get when my app crashes ...

http://imgur.com/EOhkZPT

http://imgur.com/O3nqg1O

Joseph White
Joseph White
5,189 Points

I had an orphaned outlet on the image which I deleted manually by removing the variable from the PlaylistMasterViewController instead of going to the connections inspector and removing it from there. Confusing -- hope this helps someone else.