Error Message using AVFoundation

I see a message in xcode 12.5 in the console when getting metadata for *.m4p files only. Does not seem to cause any issues that I know of, so thought I would ask around. Thanks!

Macos 11.3.1 xcode 12.5

Code Block
let avasset = AVAsset(url: url as URL) as AVAsset
let metadata = avasset.metadata(forFormat: AVMetadataFormat.iTunesMetadata)
2021-05-08 20:08:42.072875-0500 AudioFile[3820:238663] ca_require_noerr: [result = CB_GetComponentDescription

What is the complete error message you get ?

Do you query query a MatrixMixer AudioUnit ?
If so, may have a look here:
https://stackoverflow.com/questions/38315905/kaudiounitproperty-matrixlevels-in-swift

Note: line 1, you don't need all the cast.
In addition, if not url, it will cause compiler error. So, useless.

if url is effectively a URL, just write
Code Block
let avasset = AVAsset(url: url)

I am not executing MatrixMixer.... Whenever code executes this line for a m4p audio file (song):

Code Block
let metadata = avasset.metadata(forFormat: AVMetadataFormat.iTunesMetadata)

I get the same error five times.

Code Block
2021-05-09 11:30:29.323176-0500 AudioFile[1276:40266]  ca_require_noerr: [result = CB_GetComponentDescription (mComponentInstance, &desc), -50] (goto home;)
2021-05-09 11:30:29.323296-0500 AudioFile[1276:40266]  ca_require_noerr: [result = CB_GetComponentDescription (mComponentInstance, &desc), -50] (goto home;)
2021-05-09 11:30:29.323363-0500 AudioFile[1276:40266]  ca_require_noerr: [result = CB_GetComponentDescription (mComponentInstance, &desc), -50] (goto home;)
2021-05-09 11:30:29.323410-0500 AudioFile[1276:40266]  ca_require_noerr: [result = CB_GetComponentDescription (mComponentInstance, &desc), -50] (goto home;)
2021-05-09 11:30:29.323437-0500 AudioFile[1276:40266]  ca_require_noerr: [result = CB_GetComponentDescription (mComponentInstance, &desc), -50] (goto home;)


If code works OK, that's the most important.

From time to time, Xcode sends messages which should be ignored (they may be for debug use). Annoying but no real concern.

However, you'd better file a bug report, in case.
Error Message using AVFoundation
 
 
Q