How to use Opus codec in iOS

I am working on a simple voip application for iOS and need to use opus codec. As far as I know opus codec is only available in C. There seems to be no way in Xcode to compile opus codec for iOS platform. How can I use opus codec in my iOS project? Do I need to compile everything from the source using cmake? And if so, does Xcode have cmake support?

Replies

For swift, you could try: https://github.com/emlynmac/swift-opus

I forked it from another repo, and I'm adding custom opus support.