File tree Expand file tree Collapse file tree 6 files changed +19
-2
lines changed
core/src/tvosMain/kotlin/com/powersync
build-plugin/src/main/kotlin
sonatype/src/main/kotlin/com/powersync/plugins/utils Expand file tree Collapse file tree 6 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 22
22
- os : windows-latest
23
23
targets : jvmTest
24
24
runs-on : ${{ matrix.os }}
25
- timeout-minutes : 15
25
+ timeout-minutes : 20
26
26
27
27
steps :
28
28
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change
1
+ package com.powersync
2
+
3
+ import co.touchlab.sqliter.DatabaseConnection
4
+
5
+ internal actual fun DatabaseConnection.loadPowerSyncSqliteCoreExtension () {
6
+ loadPowerSyncSqliteCoreExtensionDynamically()
7
+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ kotlinx-datetime = "0.7.1"
17
17
kotlinx-io = " 0.8.0"
18
18
ktor = " 3.2.3"
19
19
uuid = " 0.8.4"
20
- powersync-core = " 0.4.2 "
20
+ powersync-core = " 0.4.3 "
21
21
sqlite-jdbc = " 3.50.3.0"
22
22
sqliter = " 1.3.3"
23
23
turbine = " 1.2.1"
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class SharedBuildPlugin : Plugin<Project> {
62
62
// We're testing on simulators
63
63
Family .IOS -> " ios-arm64_x86_64-simulator"
64
64
Family .WATCHOS -> " watchos-arm64_x86_64-simulator"
65
+ Family .TVOS -> " tvos-arm64_x86_64-simulator"
65
66
else -> return @configureEach
66
67
}
67
68
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ abstract class ClangCompile: DefaultTask() {
68
68
KonanTarget .WATCHOS_ARM64 -> " arm64_32-apple-watchos" to WATCHOS_SDK
69
69
KonanTarget .WATCHOS_SIMULATOR_ARM64 -> " aarch64-apple-watchos-simulator" to WATCHOS_SIMULATOR_SDK
70
70
KonanTarget .WATCHOS_X64 -> " x86_64-apple-watchos-simulator" to WATCHOS_SIMULATOR_SDK
71
+ KonanTarget .TVOS_ARM64 -> " aarch64-apple-tvos" to TVOS_SDK
72
+ KonanTarget .TVOS_X64 -> " x86_64-apple-tvos-simulator" to TVOS_SIMULATOR_SDK
73
+ KonanTarget .TVOS_SIMULATOR_ARM64 -> " aarch64-apple-tvos-simulator" to TVOS_SIMULATOR_SDK
71
74
else -> error(" Unexpected target $target " )
72
75
}
73
76
@@ -104,6 +107,8 @@ abstract class ClangCompile: DefaultTask() {
104
107
const val WATCHOS_SIMULATOR_SDK = " Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/"
105
108
const val IOS_SDK = " Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"
106
109
const val IOS_SIMULATOR_SDK = " Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"
110
+ const val TVOS_SDK = " Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk"
111
+ const val TVOS_SIMULATOR_SDK = " Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk"
107
112
const val MACOS_SDK = " Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/"
108
113
}
109
114
}
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ public fun KotlinTargetContainerWithPresetFunctions.powersyncTargets(
45
45
macosX64()
46
46
macosArm64()
47
47
48
+ tvosSimulatorArm64()
49
+ tvosX64()
50
+ tvosArm64()
51
+
48
52
if (watchOS) {
49
53
watchosDeviceArm64() // aarch64-apple-watchos
50
54
watchosArm64() // arm64_32-apple-watchos
You can’t perform that action at this time.
0 commit comments