chris
chris

Reputation: 81

How to use older sqlite version in iOS app

I want to use a previous version of sqlite in my iOS app as I have a collation in my database that is deprecated with the new version of sqlite that iOS comes with.

I haven't seen anywhere this is asked or a solution talked about and i'm not sure where to start other then I think I need to preload the sqlite version with the app upon download but as to tell the app to not use the main iOS sqlite and use the preloaded one, I really have no idea.

Any push in the right direction would be much appreciated!

Upvotes: 2

Views: 284

Answers (1)

Holly
Holly

Reputation: 5290

You can download and compile your own version of SQLite into your project. Compile the amalgamation into a target, then link that as a dependency to your main project in Xcode.

Upvotes: 1

Related Questions