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 Game with Sprite Kit Artificial Intelligence and Sound Adding Sound Effects

Jess Hendricks
Jess Hendricks
4,412 Points

Not loading the PressStart.caf

I followed the instructions in Adding Sound Effects using the most recent non-beta version of Xcode. When I added the sound effect (making sure to properly click their target membership), I get an error on launch: *** Terminating app due to uncaught exception 'Failed to Load Resource', reason: 'Resource PressStart.caf can not be loaded' I attempted to manually re-add the sounds several times and also manually add them to Build Phases, but to no avail.

1 Answer

Jess Hendricks
Jess Hendricks
4,412 Points

And I figured it out. If one uses a Audio Interface (musicians, sound designers, etc), it needs to be disabled because the iOS simulator apparently cannot account for it.