Skip to content

Commit 7a10c63

Browse files
pblazejclaude
andauthored
fix(uniffi): publish livekit_datatrack.swift with the Swift package (#1310)
The Swift package build generates one bindings file per UniFFI component, but the publish step's hardcoded file list only carried `livekit_uniffi.swift` — `livekit_datatrack.swift` was silently dropped. The published package (v0.1.8, livekit-uniffi-xcframework#14) references data-track types that are never defined and fails to compile; verified by building the `release/0.1.8` package against the draft xcframework (fails), then adding the bindings file generated at the same tag (builds clean). The Android AAR is unaffected — Kotlin sources are compiled as a directory, and the 0.1.8 AAR on Maven Central already contains both components. The v0.1.8 release itself was repaired by hand-adding the tag-generated bindings to livekit-uniffi-xcframework#14; this fix keeps future releases from regressing. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 0aea78f commit 7a10c63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/uniffi-swift.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
${{ env.OUTPUT_DIR }}/LICENSE:LICENSE
9898
${{ env.OUTPUT_DIR }}/PrivacyInfo.xcprivacy:PrivacyInfo.xcprivacy
9999
${{ env.OUTPUT_DIR }}/Sources/${{ env.SPM_NAME }}/livekit_uniffi.swift:Sources/${{ env.SPM_NAME }}/livekit_uniffi.swift
100+
${{ env.OUTPUT_DIR }}/Sources/${{ env.SPM_NAME }}/livekit_datatrack.swift:Sources/${{ env.SPM_NAME }}/livekit_datatrack.swift
100101
token: ${{ secrets.UNIFFI_XCFRAMEWORK_PAT }}
101102
pr-body: |
102103
Source tag: `${{ inputs.tag_name }}`

0 commit comments

Comments
 (0)