In addition to storing the synthesizer as an instance or state variable, the following helped me to get rid of the error message [catalog] Unable to list voice folder:
struct ContentView: View {
init() {
AVSpeechSynthesisVoice.speechVoices() // <-- fetch voice dependencies
}
...