Skip to content

[Drift] Swift SDK removes Kotlin XCFramework dependency, now uses native Swift connection pool (powersync-swift #130) #427

@benitav

Description

@benitav

What shipped: The Swift SDK now implements SqlCursor and the SQLite connection pool entirely in native Swift (NativeSqliteStatement, NativeConnectionPool, AsyncConnectionPool), removing the dependency on the Kotlin XCFramework entirely. The PowerSync core extension is now loaded via a direct function call using the OS loader rather than sqlite3_load_extension.

Why this needs docs: This is a breaking installation/integration change — any documentation that instructs users to add the Kotlin XCFramework as a dependency to their Xcode project or Swift Package is now incorrect.

Likely affected pages/sections:

  • Swift SDK installation / getting started page — remove all instructions for adding the Kotlin XCFramework dependency; update the Swift Package Manager dependency list
  • Swift SDK integration guide — verify no other setup steps reference the Kotlin framework
  • Troubleshooting page (if exists) — remove any Kotlin framework-related troubleshooting steps

Source PR: powersync-ja/powersync-swift#130

CC: @benitav @simolus3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions