great work but you may use other than FMDB
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
+1,relying on FMDB significantly increase compile duration, and I don't use FMDB at all.
:+1:
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.
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 byCacheKit (0.1.0) -
FMDB (= 2.3)required byMapbox-iOS-SDK (1.2.0)
Is there any way to solve this?
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'
@davbeck Thank you sooooo much!! :+1: