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 2222          - os : windows-latest 
2323            targets : jvmTest 
2424    runs-on : ${{ matrix.os }} 
25-     timeout-minutes : 15 
25+     timeout-minutes : 20 
2626
2727    steps :
2828    - 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"
1717kotlinx-io  = " 0.8.0" 
1818ktor  = " 3.2.3" 
1919uuid  = " 0.8.4" 
20- powersync-core  = " 0.4.2 " 
20+ powersync-core  = " 0.4.3 " 
2121sqlite-jdbc  = " 3.50.3.0" 
2222sqliter  = " 1.3.3" 
2323turbine  = " 1.2.1" 
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ class SharedBuildPlugin : Plugin<Project> {
6262                    //  We're testing on simulators
6363                    Family .IOS  ->  " ios-arm64_x86_64-simulator" 
6464                    Family .WATCHOS  ->  " watchos-arm64_x86_64-simulator" 
65+                     Family .TVOS  ->  " tvos-arm64_x86_64-simulator" 
6566                    else  ->  return @configureEach
6667                }
6768
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ abstract class ClangCompile: DefaultTask() {
6868            KonanTarget .WATCHOS_ARM64  ->  " arm64_32-apple-watchos"   to WATCHOS_SDK 
6969            KonanTarget .WATCHOS_SIMULATOR_ARM64  ->  " aarch64-apple-watchos-simulator"   to WATCHOS_SIMULATOR_SDK 
7070            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 
7174            else  ->  error(" Unexpected target $target "  )
7275        }
7376
@@ -104,6 +107,8 @@ abstract class ClangCompile: DefaultTask() {
104107        const  val  WATCHOS_SIMULATOR_SDK  =  " Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/" 
105108        const  val  IOS_SDK  =  " Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" 
106109        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" 
107112        const  val  MACOS_SDK  =  " Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/" 
108113    }
109114}
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ public fun KotlinTargetContainerWithPresetFunctions.powersyncTargets(
4545            macosX64()
4646            macosArm64()
4747
48+             tvosSimulatorArm64()
49+             tvosX64()
50+             tvosArm64()
51+ 
4852            if  (watchOS) {
4953                watchosDeviceArm64() //  aarch64-apple-watchos
5054                watchosArm64() //  arm64_32-apple-watchos
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments