Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Enable macOS support #141

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

WIP: Enable macOS support #141

wants to merge 1 commit into from

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented Mar 7, 2025

Compile core packages with macOS support too. This unfortunately doesn't work as-is, the problems I ran into were:

  1. I couldn't figure out how to link a version of sqlite3 that has extension loading enabled (the one macOS links by default doesn't). When embedding this into the XCode project for powersync-swift, I'm running into Kotlin Multiplatform build fails on macOS sqldelight/sqldelight#5305. When trying to run the tests here, sqlite3_auto_extension returns 0 without ever invoking sqlite3_powersync_init.
  2. I couldn't link the libpowersync.dylib from our releases directly, I had to use a local build.

I'll try to revisit this in the future, maybe some ideas come up to resolve this eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant