An error is returned when kAudioFormatAMR_WB is set in AVFormatIDKey of AVAudioFile.

I'm not sure about the AVFormatIDKey that can be used with AVAudioFile, so please support me.

I tried to create a file for output using the AVAudioFile (forWriting: settings :) API.
I set the following in settings

AVFormatIDKey: Int (kAudioFormatAMR_WB),
AVSampleRateKey: 16000,
AVNumberOfChannelsKey: 1,
AVEncoderBitRatePerChannelKey: 16

As a result, API returns Error code 1718449215 (unsupported format).
So I would like to ask you, if you set this kAudioFormatAMR_WB constant,
Could you please tell me if it doesn't work or if it works but the operation is not guaranteed?
Also, are there any steps to make it work?
An error is returned when kAudioFormatAMR_WB is set in AVFormatIDKey of AVAudioFile.
 
 
Q