I got the errors like
Type 'Trip' has no member 'preview'
, but the preview is defined in Trip.swift
comment all preview code with errors and the project can be compiled.
Not sure if you submitted the feedback, but the workaround for the moment is in the release notes.
#Preview can’t reference symbols in Swift type extensions when they are defined in the same module as the Preview (110671628)
Workaround: Revert to using PreviewProvider, or copy the implementation of the extension directly in to the #Preview itself or make it a global symbol