Question

I've been trying to figure out how to implement Core Audio development kit into the current version of Xcode but have had no luck. I can't find where to download the SDK or where it would be located inside Xcode. The tutorial that apple offers only brings you to their website which doesn't have it, they have audio tools and examples but no SDK. Am I missing something? I have been searching my computer to see where any of the source files would be but have had no luck.

Was it helpful?

Solution

You don't need to download anything actually, it comes with XCode.

Import the CoreAudio header where you need it with

#import <CoreAudio/CoreAudio.h>

Then head over to your targets build phases to section "Link Binary With Libraries".

enter image description here

There you need to add CoreAudio and you are done with it.

enter image description here

In case you are new to CoreAudio I can highly recommend the book "Learning Core Audio". It helped me a ton.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top