Closed jun1st closed 4 years ago
Hello @jun1st,
If you are using Xcode 11.2, then set DEAD_CODE_STRIPPING
to NO in the build settings of your app. This is a workaround for a Xcode bug, see https://github.com/groue/GRDB.swift/issues/640#issuecomment-548975256.
@groue set DEAD_CODE_STRIPPING
to No
fix the issue.
thanks for the quick response and the awesome GRDB library 👍 👍
Try using GRDBCombine with inside a SwiftUI view,
I start my observation inside my view model:
use the viewmodel inside SwiftUI View.
But when I try to insert a new record to database. It fails
ACCESS_BAD_ADDRESS
, debug view shows as follows, looks like it needs a strong reference?