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

Tracking Issue: iOS Support #69

Open
asg017 opened this issue Aug 7, 2024 · 2 comments
Open

Tracking Issue: iOS Support #69

asg017 opened this issue Aug 7, 2024 · 2 comments

Comments

@asg017
Copy link
Owner

asg017 commented Aug 7, 2024

sqlite-vec theoretically runs on iOS devices, but I haven't tried it yet.

How can we package and distribute sqlite-vec so iOS developers can use it in mobile and native apps?

I don't know anything about iOS development so please help me answer the following questions:

  • What are common SQLite client libraries that iOS devs use? Do they allow dynamically loading SQLite extensions?
  • What "package managers" exist for 3rd party iOS libraries?
  • How do iOS library bundle in pre-compiled shared object files?

P.S. - if you're company or organization would benefit from sqlite-vec on iOS, I'd love to have you as a sponsor!

@asg017
Copy link
Owner Author

asg017 commented Aug 8, 2024

new Swift PR that may help a lot: #74

@jkrukowski
Copy link

What are common SQLite client libraries that iOS devs use? Do they allow dynamically loading SQLite extensions?

Here are some: SQLite.swift GRDB.swift

It looks like the SQLite version provided by the OS (macOS and iOS) is compiled without the ability to load new extensions, see here.

What "package managers" exist for 3rd party iOS libraries?

How do iOS library bundle in pre-compiled shared object files?

I created a simple proof of concept SQLiteVec SPM package that can be used from both iOS and macOS and bundles together the SQLite and sqlite-vec. This way we skip the sqlite provided by the OS.

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

No branches or pull requests

2 participants