0

I am getting the following errors but no errors showing in either the .h or .m files

Apple Mach-O Linker (id) Error "_AudioServicesCreateSystemSoundID", referenced from -[firstViewController playSound:] in FirstViewController.o

Both the .h and implementation file is clean and does not show any errors on the pages.

David Rönnqvist
  • 56,267
  • 18
  • 167
  • 205

1 Answers1

1

You need to add the AudioToolbox.framework to your project.

Instructions on doing this are here: How to "add existing frameworks" in Xcode 4?

Community
  • 1
  • 1
ThomasW
  • 16,981
  • 4
  • 79
  • 106