I'm integrating CallKit in a VoIP app and one of the integration points is letting CallKit activate audio session on behalf of the app.
Sadly, a lot of times there is no audio because AudioUnitInitialize returns a AVAudioSessionErrorCodeMissingEntitlement error. Sometimes it works, sometimes it doesn't.
This happens using the beta 6 (and before) in the Speakerbox example app, even with the “requires background audio” entitlement checked. Our app already had that entitlement and it is also seeing this error. Has anyone encounter this error?
Already filed a radar on this: rdar://27674736 http://www.openradar.me/27674736