Is anybody able to actually record audio using presentAudioRecordingControllerWithOutputURL: on the device? The audio recording interface doesn't pickup audio AT ALL _ on device _.

It works fine in simulator. I can see that it picks up audio.


However, when debugging on the device, the blue indicator is stuck to the left and doesn't pickup any audio. iPhone did ask for permission to use Microphone and that was allowed.


Did it work for anyone so far?

No luck in Beta 2 (iOS 9 Beta 2 + Watch OS Beta 2).. Cleaned and built using Xcode 7 Beta 2.


It's like the microphone is disabled on the device. Siri works. The recording interface doesn't pickup any sound.

Please advise.

I'm seeing the same problem on beta 3. Recording works fine in the simulator, but not on an actual device.

Could you please file a bug report at bugreport.apple.com and attach a sample project? Thanks.

It works for me (beta 4). The issue I got on the device, but not on simulator, was related to the place you save the file. I discovered that if you I want to save on Documents folder then on simulator everything works like a charm, but on the Apple Watch the recording doesn't work (no audio animation and I have error when saving). The solution I got was to use instead of Documents folder a group folder, this seemed to solve the issue: now I am capable of recording and playing the audio files. However, I discovered something else: the recording is not continious but it has gaps. I tried to record myself while I was counting from 1 to 20 and in the recorded file it was a gap between 7 and 18. Not sure how to handle this.

I've tried using Library directory, caches directory, documents directory.. still doesn't work.. beta 4.


"The solution I got was to use instead of Documents folder a group folder,".

What's a group folder? I thought app groups no longer worked in watchOS 2.0?

I've tried using the AppGroup directory.. and that fails as well..


The interface shows up but NO audio is picked up. didSave is 1, there is no error. However, when checking with [NSURL fileExistsAtPath:] returns false.

😟

Ive had this problem so much. Potentially two things


a) Saving to a shared container using App Groups

b) Setting the permissions. Wouldn't work at all then bam one day got a permissions request from the WatchKit Extension, say yes and it should work.


Random as anything.

So if you have the files in a shared container? It is being saved on the phone or the watch?

It's on the Watch. If you need it on the phone you probbly want to transfer it via WCSession.

I had the exact same problem.


I tested on two sets of iPhones paired to their own Apple Watch.


I tested this with my own app I'm developing and a one I downloaded from the App Store that uses the Audio Recorder Controller in watchOS 2.


My own personal watch worked but my work watch was not picking up audio despite displaying the audio recorder. It was just recording blank sound. This was true for both my app and the downloaded 3rd party app (RecorderHQ Free).


What I did to fix the problem was to reset the watch. I went to the Watch app on the iPhone and then went to Reset All Content and Settings in the General section.


After doing this, it all worked!


Hope this helps!

Is anybody able to actually record audio using presentAudioRecordingControllerWithOutputURL: on the device? The audio recording interface doesn't pickup audio AT ALL _ on device _.
 
 
Q