Xcode – Failed to produce diagnostic for expression for image array
I am trying to utilize the UIImage array in SWiftUI class for forEach loop but Xcode always gives me the error 'Failed to produce diagnostic for expression;'. I also tried using the Data array but same error. Below is my…