Problem with SpringBoard AddressBook Missing

I am trying to get previews to work with swiftUI and my issue is

Library not loaded: /System/Library/Frameworks/AddressBook.framework/AddressBook

and it just loops my previews continually. I am using an older version of Xcode it is 13.1 but it is one of the latest ones my os supports. What can I do to fix this issue?

Problem with SpringBoard AddressBook Missing
 
 
Q