eygraber
10/23/2022, 2:19 AMkpgalligan
10/25/2022, 8:25 PMKirill Zhukov
10/25/2022, 10:11 PMEric Williams
10/28/2022, 1:15 PMLim Chee Keong
10/31/2022, 3:35 AMtkach13
11/01/2022, 1:16 PMNiek
11/02/2022, 8:42 AMbuild
folder which the XCode project then includes. Unfortunately this assemble step takes about 2 minutes for every minor code change.
What I've read here and there is that Touchlab recommends the latter option, by publishing KMM code as a Swift Package to a GitHub repository and then pulling it in into the XCode project.
I'm curious about a few things here, before I dig deeper:
• Could publishing KMM code through SPM be quicker than our assemble step?
• Is there a way (possibly through KMMBridge) we could set this up in a monorepo?Eric Williams
11/02/2022, 8:36 PMgroupId
and artifactId
for Maven packages?Anouar di Kali
11/06/2022, 3:18 PMchislett
11/13/2022, 8:33 PMStefan Oltmann
11/15/2022, 8:23 AMWHERE NOT EXISTS
to my INSERT INTO LocationDb VALUES ?;
, but that seems to be not supported.
Then I tried to put that into an transaction
like this:
queries.transaction {
val locationDb = queries.find(
latitude = gpsCoordinates.latitude,
longitude = gpsCoordinates.longitude
).executeAsOneOrNull()
if (locationDb == null) {
queries.add(
LocationDb(
latitude = gpsCoordinates.latitude,
longitude = gpsCoordinates.longitude,
locationName = location.name,
city = location.city,
state = location.state,
country = location.country
)
)
}
}
This results in [SQLITE_BUSY] The database file is locked (database is locked)
I found online that this can be due to multiple connections and the recommendation is to have just one. I don't know how many I have using the SQLiteJDBCDriver.
I create the drive like this:
actual fun createDriver(): SqlDriver {
val filePath = getFilePath()
val driver = JdbcSqliteDriver(
"jdbc:sqlite:$filePath",
Properties().apply {
/* Use foreign keys and cascade deletions. */
put("foreign_keys", "true")
}
)
PhotosDatabase.Schema.create(driver)
return driver
}
I only have one instance of the Database proxy...
How can I do my insert without primary key violation?
How can I set the max connections?Arun Joseph
11/17/2022, 12:24 PMAll-Publish
action, version increments for SPM package(for example to 0.1.1
). But for Android package it keeps initial version 0.1
?apvasanth03
11/18/2022, 4:58 AMshahroz
11/25/2022, 10:54 AMKMMBridge
gives me this error. For branches with remote, it works fine. Is there any solution to this?
using version, 0.3.2
error: There is no tracking information for the current branch.
error: Please specify which branch you want to merge with.
error: See git-pull(1) for details.
error:
error: git pull <remote> <branch>
error:
error: If you wish to set tracking information for this branch you can do so with:
error:
error: git branch --set-upstream-to=origin/<branch> shahroz/fix-remote-issues
Caused by: org.gradle.api.GradleException: Process failed: git pull --tags
at co.touchlab.faktory.internal.ProcessHelperKt.procRun(ProcessHelper.kt:38)
at co.touchlab.faktory.internal.ProcessHelperKt.procRunFailLog(ProcessHelper.kt:74)
at co.touchlab.faktory.versionmanager.GitTagBasedVersionManager.getVersion(GitTagBasedVersionManager.kt:28)
at co.touchlab.faktory.KMMBridgePlugin.configureArtifactManagerAndDeploy(KMMBridge.kt:104)
at co.touchlab.faktory.KMMBridgePlugin.access$configureArtifactManagerAndDeploy(KMMBridge.kt:31)
at co.touchlab.faktory.KMMBridgePlugin$apply$$inlined$with$lambda$1.execute(KMMBridge.kt:51)
at co.touchlab.faktory.KMMBridgePlugin$apply$$inlined$with$lambda$1.execute(KMMBridge.kt:31)
ayodele
11/28/2022, 4:27 PMObservableObject
on the iOS side??John O'Reilly
12/02/2022, 8:51 PM./gradlew spmDevBuild
works in version 0.3.1 but doesn't seem to in 0.3.3
Task 'spmDevBuild' not found in root project
kpgalligan
12/02/2022, 8:55 PMJohn O'Reilly
12/02/2022, 8:56 PMkpgalligan
12/02/2022, 9:11 PMJohn O'Reilly
12/02/2022, 9:13 PMkpgalligan
12/03/2022, 2:20 AM0.3.4-SNAPSHOT
which has the fix. Had to rework our CI for Gradle stuff, but should be cranking away (https://github.com/touchlab/KMMBridge/pull/170). Will shoot for a stable fix release Monday-ish (unless I just push over the weekend :)kpgalligan
12/03/2022, 2:21 AMMatthew Ramotar
12/04/2022, 7:31 PMArchie
12/07/2022, 6:47 AMcocoapods
intergration but the problem is I do not know how to integrate them back to a single common
module without an issue. Just wondering if anyone has tried this out? Is it even possible at the moment? Would really appreciate any tips. Thanks in advancedorche
12/07/2022, 10:22 PMCarlos Monzon
12/21/2022, 12:11 PMPeter Hsu
12/28/2022, 6:59 PMMatt Rea
01/06/2023, 6:27 PMCaused by: com.android.builder.errors.EvalIssueException: Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /Users/runner/hostedtoolcache/Java_Adopt_jdk/11.0.17-8/x64/Contents/Home
It looks like faktorybuildbranches.yml
currently sets Java 11. Would it be possible to add a java-version
input argument for this?kpgalligan
01/06/2023, 7:00 PMeygraber
01/06/2023, 7:42 PMeygraber
01/06/2023, 7:42 PM