After upgrading to macOS Ventura I can no longer have multi-line alert views with a scroll bar. The dialog will not show and the app freezes.
let myAlertTest = UIAlertController(title: "TITLE", message: "If this line is too long, the app will freeze instead of showing scroll bars. Worked fine with Monterey", preferredStyle: UIAlertController.Style.alert)
myAlertTest.addAction(UIAlertAction(title: "OK", style: UIAlertAction.Style.default, handler: nil))
self.present(myAlertTest, animated: true, completion: nil)