SQLite.swift icon indicating copy to clipboard operation
SQLite.swift copied to clipboard

PreviewProvider is not working.

Open kelalaka153 opened this issue 1 year ago • 0 comments

I'm using version 0.13.3 on XCode 14.3 with Swift Package manager

I need to work with the canvas so I need to able to run the PreviewProvider. Whenever, SQLite is used on the View, the preview provider crashes

   libswiftCore.dylib            	    0x7ff80d615254 _assertionFailure(_:_:file:line:flags:) + 228
   MyAppName.            	       0x10dd9be2b getContents() + 267 (SqliteManager.swift:569)

The app working normally. I'm guessing we need some environmetalObject as in CoreData in PreviewProvider so that it works?? Does it work somehow?

kelalaka153 avatar May 28 '23 11:05 kelalaka153