diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 31e2200..22e6506 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -20,8 +20,14 @@ jobs: swift build -Xswiftc -strict-concurrency=complete swift test -Xswiftc -strict-concurrency=complete - - 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)" + - name: List available simulator targets + run: xcrun xctrace list devices + + - 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" 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.