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

great work but you may use other than FMDB #1

Open
syrakozz opened this issue Oct 14, 2014 · 6 comments
Open

great work but you may use other than FMDB #1

syrakozz opened this issue Oct 14, 2014 · 6 comments

Comments

@syrakozz
Copy link

its a great project but maybe you use
https://github.com/lucascorrea/SCSQLite
a lighter sqlite interface than FMDB
the project will be much lighter and smaller
FMDB is a little bit heavy

@PrideChung
Copy link

+1,relying on FMDB significantly increase compile duration, and I don't use FMDB at all.

@sohayb
Copy link

sohayb commented Jan 5, 2015

👍

@davbeck
Copy link
Owner

davbeck commented Jan 15, 2015

Given FMDB's popularity I'd like to stick with it since it would be more likely to be used in another pod or part of the project.

However, we don't use it in a ton of places, so I would be open to accepting a pull request that used SQLite directly assuming it did so in a thread safe way.

@joeytat
Copy link

joeytat commented Apr 17, 2015

I'm current using Mapbox right now. Went to install the CacheKit via Pod and it could not satisfy the FMDB requirement:

Unable to satisfy the following requirements:

  • FMDB (~> 2.4) required by CacheKit (0.1.0)
  • FMDB (= 2.3) required by Mapbox-iOS-SDK (1.2.0)

Is there any way to solve this?

@davbeck
Copy link
Owner

davbeck commented Apr 17, 2015

Mapbox-iOS-SDK should be using the "~>" specifier for this exact reason. That allows any version greater than or equal to 2.3 but less than 3.0. What I would do is fork Mapbox-iOS-SDK and edit the podspec to use it. For the time being you can specify your own fork in your Podfile and submit a pull request for everyone else.

To use your fork, use something like this:

pod 'Mapbox-iOS-SDK', git: 'https://github.com/joeytat/Mapbox-iOS-SDK.git', commit: 'f50077aae7dc3bdd4a4aeb4cd18fe3b8c5701bd3'

@joeytat
Copy link

joeytat commented Apr 17, 2015

@davbeck Thank you sooooo much!! 👍

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

5 participants