Apropos of yesterday’s discovery of AVAudioPlayer, I wrote a throwaway app to try out the new playback API… which turned into an Apple buglet. Two things I want to post right now so someone can Google them and save themselves some time:

  1. It doesn’t work on the iPhone Simulator. When you try to play, you get an error saying that the IOBluetoothSCOAudioDriver.kext couldn’t be loaded. Filed as bug 6414821. Works fine if you have a device and an app-signing certificate, though!
  2. initWithContentsOfURL: only works with file: URLs. And this doesn’t seem to be documented anywhere. That probably needs to be a documentation bug.

Leave a comment

You must be logged in to post a comment.