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 Refactoring Our Code Determining Playlists Programmatically

Hello, I have a problem when trying to build my project. indexing and build is stuck. Thanks

I have a problem when trying to build my project. indexing and build is stuck. This is a similar project that you are teaching. Do you know this issue? I tried on a different machine (MacBook Air I7) but still same issue.

2 Answers

Hi there! This really is a strange issue, especially if you tried it on two devices. Have you tried downloading the project files from the "Downloads" section (under the videos) and compiling that?

Nathan Bivens
Nathan Bivens
14,460 Points

If for some reason you still have this problem try this.

Under the MusicLibrary struct, in the library array, you can specify a type like: let library: [[String:AnyObject]] =

This works for me as I have been using Structs full of Dictionaries of different types. Try that and see if it works!