Hello! I'm getting the similar error messages in a SwiftUI application in XCode 12 Beta 3 when I am trying to add sound to the .
For my app it seems that the initialization of AVAudioPlayer is what triggers the errors within the iOS Simulator.
Here's the relevant snippet of code:
import AVFoundation
var audioPlayer: AVAudioPlayer?
func playSound(sound: String, type: String) {
	if let path = Bundle.main.path(forResource: sound, ofType: type) {
		do {
			print("Want to play sound! file: \(sound) type: \(type)")
			audioPlayer = try AVAudioPlayer(contentsOf: URL(fileURLWithPath: path))
			audioPlayer?.play()
		} catch {
			print("ERROR: Could not find and play the sound! file: \(sound) type: \(type)")
		}
	}
}
Errors:
2020-08-02 11:01:42.254964-0500 myapp[1720:143366]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-08-02 11:01:47.256608-0500 myapp[1720:143366]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-08-02 11:01:47.257136-0500 myapp[1720:143366]	HALDefaultDevice::Initialize: couldn't add the default input device listener, Error: 268435460 (\^P)
2020-08-02 11:01:52.257906-0500 myapp[1720:143366]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-08-02 11:01:52.258145-0500 myapp[1720:143366]	HALDefaultDevice::Initialize: couldn't add the default output device listener, Error: 268435460 (\^P)
2020-08-02 11:01:57.259596-0500 myapp[1720:143366]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-08-02 11:01:57.260023-0500 myapp[1720:143366]	HALDefaultDevice::Initialize: couldn't add the default system output device listener, Error: 268435460 (\^P)
2020-08-02 11:02:02.260790-0500 myapp[1720:143366]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-08-02 11:02:02.261091-0500 myapp[1720:143366]	HALDefaultDevice::Initialize: couldn't add the default shared output device listener, Error: 268435460 (\^P)
2020-08-02 11:02:02.261927-0500 myapp[1720:143366] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000038849a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-08-02 11:02:02.262654-0500 myapp[1720:143366]	AudioObjectSetPropertyData: no object with given ID 0
2020-08-02 11:02:02.262870-0500 myapp[1720:143366] 83: Failed to set processVolumeScalar on device. Error: 560947818
Want to play sound! file: sound type: mp3
I'm downloading beta 2 to check if the problem persists there and I will follow up.