From 54bf8fa084261a467a105b6baa83e396f6f63c71 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 9 Feb 2026 14:25:42 +0100 Subject: [PATCH 1/3] Update Kotlin SDK, declare tvOS support --- .github/workflows/build_and_test.yaml | 4 ++++ Package.swift | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 31e2200..019f88e 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -20,8 +20,12 @@ jobs: swift build -Xswiftc -strict-concurrency=complete swift test -Xswiftc -strict-concurrency=complete + - name: List available simulator targets + run: xcrun xctrace list devices + - name: Build and Test run: | xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16" xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac" xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)" + xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV Simulator" diff --git a/Package.swift b/Package.swift index 1882f66..47ce8fc 100644 --- a/Package.swift +++ b/Package.swift @@ -34,8 +34,8 @@ if let kotlinSdkPath = localKotlinSdkOverride { .binaryTarget( name: "PowerSyncKotlin", url: - "https://github.com/powersync-ja/powersync-kotlin/releases/download/v1.10.2/PowersyncKotlinRelease.zip", - checksum: "78780e04436a872b80e2d8c90f4cc1901ec38de2d1b908c2f7c24f7d8ce0f82b" + "https://github.com/powersync-ja/powersync-kotlin/releases/download/v1.10.4/PowersyncKotlinRelease.zip", + checksum: "8e1dd97a4efa223585796e1d343927b56ed64cb73778ec4b384ab679210ad1b6" )) } @@ -58,6 +58,7 @@ let package = Package( .iOS(.v15), .macOS(.v12), .watchOS(.v9), + .tvOS(.v15), ], products: [ // Products define the executables and libraries a package produces, making them visible to other packages. From 3db5b353d59fde123604c81d3b78eae3cf3cb1ac Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 9 Feb 2026 14:36:39 +0100 Subject: [PATCH 2/3] Split test invocations for easier debugging --- .github/workflows/build_and_test.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 019f88e..970b221 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -23,9 +23,11 @@ jobs: - name: List available simulator targets run: xcrun xctrace list devices - - name: Build and Test - run: | - xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16" - xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac" - xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)" - xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV Simulator" + - name: Test on iOS simulator + run: xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16" + - name: Test on macOS simulator + run: xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac" + - name: Test on watchOS simulator + run: xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)" + - name: Test on tvOS simulator + run: xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV Simulator" From cec1c537277c71bc465c252958c39cdbf0396abf Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Mon, 9 Feb 2026 15:01:55 +0100 Subject: [PATCH 3/3] Fix device name for tvOS test --- .github/workflows/build_and_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 970b221..22e6506 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -30,4 +30,4 @@ jobs: - name: Test on watchOS simulator run: xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)" - name: Test on tvOS simulator - run: xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV Simulator" + run: xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV"