MacOS Xcode not loading Images from the Assets

Xcode is not loading any imageset or ColorSet from Asset Files. This is only happening for MacOS preview . It works fine with iPhone or iPad.

I am using Xcode version 13.2.1

Can you show your code for the preview?

Perhaps the Asset files have not been associated with the macOS target?

(Check the "Target Membership" in File Inspector)

MacOS Xcode not loading Images from the Assets
 
 
Q