stephencelis/SQLite.swift

PreviewProvider is not working.

kelalaka153 opened this issue · 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?