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 (iOS7) Animating and Intercepting Events Adding Sound

Benjamin Stephens-Fripp
Benjamin Stephens-Fripp
1,482 Points

SystemSound is still not being recognised in autocomplete after I have added the audio toolbox and imported the header

Using X code 6. I have added the audio toolbox framework and I have imported the header but system sound is still not being recognised

2 Answers

Stone Preston
Stone Preston
42,016 Points

open your project settings. then go to the build phases tab. make sure that audio toolbox is included in the link binaries with libraries section.

can you post the code you are using (including the import statement)

Benjamin Stephens-Fripp
Benjamin Stephens-Fripp
1,482 Points

Thank. It doesn't auto complete now, but I can type it out and then it recognises it as a command once I've typed it out