File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/iosMain/kotlin/com/powersync Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,7 @@ kotlin {
179179
180180 if (konanTarget.family == Family .IOS && konanTarget.name.contains(" simulator" )) {
181181 binaries.withType<TestExecutable >().configureEach {
182- /*
183- linkTaskProvider.dependsOn(unzipPowersyncFramework)
182+ linkTaskProvider.configure { dependsOn(unzipPowersyncFramework) }
184183 linkerOpts(" -framework" , " powersync-sqlite-core" )
185184 val frameworkRoot =
186185 binariesFolder
@@ -189,7 +188,7 @@ kotlin {
189188 .asFile.path
190189
191190 linkerOpts(" -F" , frameworkRoot)
192- linkerOpts("-rpath", frameworkRoot)*/
191+ linkerOpts(" -rpath" , frameworkRoot)
193192 }
194193 }
195194 /*
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import kotlinx.cinterop.alloc
2222import kotlinx.cinterop.asStableRef
2323import kotlinx.cinterop.nativeHeap
2424import kotlinx.cinterop.ptr
25- import kotlinx.cinterop.reinterpret
2625import kotlinx.cinterop.staticCFunction
2726import kotlinx.cinterop.toKString
2827import kotlinx.cinterop.value
@@ -179,7 +178,7 @@ public actual class DatabaseDriverFactory {
179178 val basePtr = connection.getDbPointer().getPointer(MemScope ())
180179
181180 sqlite3_update_hook(
182- basePtr.reinterpret() ,
181+ basePtr,
183182 null ,
184183 null ,
185184 )
You can’t perform that action at this time.
0 commit comments