PreviewProvider is not working.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- sqlite, swift
- Domain
- databases, mobile-dev
Research direction
Start by reproducing the crash in a Swift Package Manager project on Xcode 14.3, focusing on the PreviewProvider and SQLite usage described in the issue. Inspect the reported stack frame in SqliteManager.swift:569 and compare preview execution with normal app execution. Done means the view renders in the canvas without crashing when SQLite is used.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Swift
- Stars
- 10.2k
- Forks
- 1.6k
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stephencelis/SQLite.swift
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
stephencelis/SQLite.swift#1375 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
stephencelis/SQLite.swift#1293 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
stephencelis/SQLite.swift#1347 · 7 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
stephencelis/SQLite.swift#1338 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
stephencelis/SQLite.swift#1337 · 3 comments ·
All issues in stephencelis/SQLite.swift
Similar issues
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
skiptools/skip-fuse-ui#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OneBusAway/onebusaway-ios#1438 · 1 reaction ·