Cannot find 'LazyVGrid' in scope

Hi

After macOS Big Sur 11 beta 9, has been released, LazyVGrid and GridItem structs are no longer available.

I receive, on Xcode Version 12.0.1 (12A7300), the following compiler errors:

"Cannot find 'LazyVGrid' in scope"
"Cannot find 'GridItem' in scope"


Is anyone else experiencing the same?

Thank you
  • I was having the same problem - I fixed it by import SwiftUI into the file. ie. 'import SwiftUI'

Add a Comment

Replies

Same problem here.
Same problem here too.