CocoaPods/Specs — pull request #499 by mullr (2012-09-12 01:21:29+00:00)
Title: CouchCocoa/TouchDB

I've made some podspecs for https://github.com/couchbaselabs/TouchDB-iOS and https://github.com/couchbaselabs/CouchCocoa.

You may notice that the TouchDB spec in particular is... less elegant than it might otherwise be. There are a number of problems upstream that show up here. Namely:

- Conflicting definitions of a common symbol is included in a prefix header

- It uses its own fork of fmdb, so the common pod can't be used

- It uses most, but not all, of the oauthconsumer library. In particular it provides its own implementation for one of the classes. This means that oauthconsumer can't be split out into its own pod, since the base implementation can't be excluded in that case and they will conflict.

- It requires an xcode-generated version file to be present. You can see what I've done in TouchDB.podspec to work around this; it works, but there has to9 be a more elegant way.

I've worked around all of these problems. I'll submit patches/issues upstream to get them resolved as possible. But in the meantime, this seems to work.