CacheKit icon indicating copy to clipboard operation
CacheKit copied to clipboard

great work but you may use other than FMDB

Open syrakozz opened this issue 11 years ago • 6 comments

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

syrakozz avatar Oct 14 '14 12:10 syrakozz

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

PrideChung avatar Oct 20 '14 02:10 PrideChung

:+1:

sohayb avatar Jan 05 '15 21:01 sohayb

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.

davbeck avatar Jan 15 '15 20:01 davbeck

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?

joeytat avatar Apr 17 '15 02:04 joeytat

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 avatar Apr 17 '15 03:04 davbeck

@davbeck Thank you sooooo much!! :+1:

joeytat avatar Apr 17 '15 08:04 joeytat