Apple Developer app "Namespace DYLD, Code 1 Library missing"

The "Namespace DYLD, Code 1 Library missing" has been an issue with my own apps and stuff but this time when I was setting up a new iMac I got the error on the official Apple Developer app. Every page I read of people having this issues with this, the solution was just reinstalling it. So I tried uninstalling then reinstalling to no avail. Maybe there is just something I'm missing but I haven't been able to get it working for days. If anyone has a solution for this it would be greatly appreciated.

Thanks

Report:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Developer [1573]
Path:                  /Applications/Developer.app/Contents/MacOS/Developer
Identifier:            developer.apple.wwdc-Release
Version:               10.6.5 (1065.9.5)
Build Info:            WWDCMac_Production-1065009000000000~6 (10F16)
App Item ID:           640199958
App External ID:       868244074
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               503

Date/Time:             2024-08-25 08:12:39.6423 +0300
OS Version:            macOS 13.6.1 (22G313)
Report Version:        12
Anonymous UUID:        AA24D7F1-2E31-6869-FA0E-F113666DCF5B


Time Awake Since Boot: 2700 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI
Referenced from: <876ADCE5-25C0-3F12-B753-20BB14C6C61C> /Applications/Developer.app/Contents/Frameworks/DRKit.framework/Versions/A/DRKit
Reason: tried: '/System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI' (no such file), '/System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                          	    0x7ff80f580c52 __abort_with_payload + 10
1   dyld                          	    0x7ff80f59afd7 abort_with_payload_wrapper_internal + 82
2   dyld                          	    0x7ff80f59b009 abort_with_payload + 9
3   dyld                          	    0x7ff80f51f8f0 dyld4::halt(char const*) + 375
4   dyld                          	    0x7ff80f51cb71 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4526
5   dyld                          	    0x7ff80f51b3bd start + 1805


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007ff7b6bcdd38  rdx: 0x00007ff7b6bce1a0
  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007ff7b6bcdd80  rsp: 0x00007ff7b6bcdd38
   r8: 0x00007ff7b6bcdda0   r9: 0x0000000000000000  r10: 0x00000000000000cd  r11: 0x0000000000000246
  r12: 0x00000000000000cd  r13: 0x00007ff7b6bce1a0  r14: 0x0000000000000001  r15: 0x0000000000000006
  rip: 0x00007ff80f580c52  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000209 
Trap Number:     133


Binary Images:
       0x10932f000 -        0x109701fff developer.apple.wwdc-Release (10.6.5) <75323663-28e3-3a50-9b72-d4cb38077a63> /Applications/Developer.app/Contents/MacOS/Developer
       0x10a170000 -        0x10a529fff developer.apple.wwdc-Release.WWDCCore (10.6.5) <0fae9e75-57ae-302b-baa1-8f9ea697ba08> /Applications/Developer.app/Contents/Frameworks/WWDCCore.framework/Versions/A/WWDCCore
       0x10a65f000 -        0x10a996fff com.apple.developer.DRKit (1.0) <876adce5-25c0-3f12-b753-20bb14c6c61c> /Applications/Developer.app/Contents/Frameworks/DRKit.framework/Versions/A/DRKit
       0x109864000 -        0x10987afff com.apple.developer.DRAuth (1.0) <25c4d298-d013-398f-b351-83fa5644f26f> /Applications/Developer.app/Contents/Frameworks/DRAuth.framework/Versions/A/DRAuth
       0x109c8a000 -        0x109e18fff com.apple.coreidv.CoreIDV (4.0.4) <c4ca6569-ac19-3677-8d50-bc077e00386e> /Applications/Developer.app/Contents/Frameworks/CoreIDVMacOS.framework/Versions/A/CoreIDVMacOS
    0x7ff80f515000 -     0x7ff80f5ad5ef dyld (*) <3df96f32-b9c9-3566-a6b7-4daebc6d6563> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=910.9M resident=0K(0%) swapped_out_or_unallocated=910.9M(100%)
Writable regions: Total=8988K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8988K(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE                          8K        2 
__CTF                               824        1 
__DATA                            34.5M      722 
__DATA_CONST                      53.1M      521 
__DATA_DIRTY                      2292K      298 
__FONT_DATA                        2352        1 
__LINKEDIT                       173.4M        7 
__OBJC_RO                         66.3M        1 
__OBJC_RW                         2013K        2 
__TEXT                           737.5M      747 
dyld private memory                260K        2 
shared memory                        4K        1 
===========                     =======  ======= 
TOTAL                              1.1G     2307 
Apple Developer app "Namespace DYLD, Code 1 Library missing"
 
 
Q