Crash on using List in iOS 14 Widget

Xcode 12 crashes on using List in an iOS 14 widget.


Fatal error: PlatformViewRepresentableAdaptor<ListRepresentable<SystemListDataSource<Never>, SelectionManagerBox<Never>>>: file /Library/Caches/com.apple.xbs/Sources/Chrono/Chrono-70.4/WidgetKit/SPI/WidgetViewArchive.swift, line 254
2020-07-13 15:34:55.965035+0530 ListWidgetExtension[866:188282] Fatal error: PlatformViewRepresentableAdaptor<ListRepresentable<SystemListDataSource<Never>, SelectionManagerBox<Never>>>: file /Library/Caches/com.apple.xbs/Sources/Chrono/Chrono-70.4/WidgetKit/SPI/WidgetViewArchive.swift, line 254

Will this be fixed in the next betas? or are lists not allowed to be used in a widget?

If lists are not allowed then how can I show multiple columns of data?
I don't think we're supposed to use List in a Widget, as it would need to be interactive. Widgets aren't supposed to be interactive.

Dan
CPSoftware is correct, List is not supported in widgets. We recommend using a VStack to achieve a similar style.
Thanks for the quick response 👍
Crash on using List in iOS 14 Widget
 
 
Q