So was able to get some results. Using the following code from above:
if let audioURL = NSBundle.mainBundle().URLForResource("Audio/Beep5", withExtension: "caf") {
let asset = WKAudioFileAsset(URL: audioURL)
let playerItem = WKAudioFilePlayerItem(asset: asset)
let player = WKAudioFilePlayer(playerItem: playerItem)
switch player.status {
case WKAudioFilePlayerStatus.ReadyToPlay:
player.play()
case WKAudioFilePlayerStatus.Failed:
print(player.error)
case WKAudioFilePlayerStatus.Unknown:
print("unknown")
player.play()
}
}
BUT, it doesn't work on the simulator and on the device itself it does require the watch be paired with a bluetooth speaker (which I think defeats the purpose). Not only that, it doesn't work 100% either. I have an app with about 20 different sounds and maybe one or two play correctly about 20% of the time. The reason I can hear hissing on the speaker but no sounds. All my files are mp3, and I haven't tried any other format. But might write another test app to try it out.
I think we need to look for the method to tell it to use the watch speaker instead of the bluetooth. Hopefully Apple will fix that soon.