Skip to content

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented Mar 7, 2025

Note: We're still kind of waiting for touchlab/SQLiter#124 to resolve macOS linker errors, but I've verified that Swift SDK tests pass on macOS with those SQLiter changes. I've also applied a dependency override when building our xcframework for Kotlin, so we can use this to publish our other packages without changes while using the patched dependency to build the Swift SDK.

Now that we have figured out how to link SQLite statically, this PR does the few remaining things required for macOS support:

  1. Add a utility to our Gradle plugin that configures the KMP targets we care about. This makes it easier to keep targets consistent across our different projects.
  2. Enable macOS support for all our projects except for :compose (since compose multiplatform doesn't have stable native macOS support yet).
  3. Rename a few of our ios source sets into apple targets so that they're used on all Apple platforms (iOS and macOS).

@simolus3 simolus3 changed the base branch from main to concurrent March 21, 2025 08:21
@simolus3 simolus3 marked this pull request as ready for review March 21, 2025 08:31
@simolus3 simolus3 requested a review from stevensJourney March 21, 2025 08:32
Base automatically changed from concurrent to main March 25, 2025 14:59
@simolus3 simolus3 changed the title WIP: Enable macOS support Enable macOS support Apr 8, 2025
Copy link
Contributor

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with these changes

@simolus3 simolus3 merged commit 0bce9cc into main Apr 14, 2025
3 checks passed
@simolus3 simolus3 deleted the macos branch April 14, 2025 10:07
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.

2 participants