Using an M1 Mac mini with Big Sur 11.4 I get the following errors in Xcode when attempting to run anything:
JUCE v6.1.2
2021-11-28 21:28:41.167977-0500 DemoRunner[12706:534470] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001e13d80> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2021-11-28 21:28:41.207359-0500 DemoRunner[12706:534470] HALC_ShellObject::SetPropertyData: call to the proxy failed, Error: 560226676 (!dat)
2021-11-28 21:28:41.207378-0500 DemoRunner[12706:534470] HALPlugIn::ObjectSetPropertyData: got an error from the plug-in routine, Error: 560226676 (!dat)
2021-11-28 21:28:41.207717-0500 DemoRunner[12706:534470] HALC_ShellObject::SetPropertyData: call to the proxy failed, Error: 1852797029 (nope)
2021-11-28 21:28:41.207734-0500 DemoRunner[12706:534470] HALPlugIn::ObjectSetPropertyData: got an error from the plug-in routine, Error: 1852797029 (nope)
2021-11-28 21:28:43.161646-0500 DemoRunner[12706:534470] HALC_ShellObject::SetPropertyData: call to the proxy failed, Error: 560226676 (!dat)
2021-11-28 21:28:43.161671-0500 DemoRunner[12706:534470] HALPlugIn::ObjectSetPropertyData: got an error from the plug-in routine, Error: 560226676 (!dat)
2021-11-28 21:28:43.162140-0500 DemoRunner[12706:534470] HALC_ShellObject::SetPropertyData: call to the proxy failed, Error: 1852797029 (nope)
2021-11-28 21:28:43.162151-0500 DemoRunner[12706:534470] HALPlugIn::ObjectSetPropertyData: got an error from the plug-in routine, Error: 1852797029 (nope)
JUCE Assertion failure in juce_AudioSourcePlayer.cpp:66
(lldb)