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 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!