JPJson icon indicating copy to clipboard operation
JPJson copied to clipboard

CocoaPods Support

Open harlanhaskins opened this issue 11 years ago • 1 comments

This JSON library is incredibly useful, but developers currently need to copy it to their projects to use it.

Any plans on adding a podspec for CocoaPods?

harlanhaskins avatar Apr 25 '14 18:04 harlanhaskins

JPJson relies on Xcode config files - which is a problem when using CocoaPods. While this could be fixed easily, the library also depends on other third party libraries which need to be installed (e.g. boost as a "header only library") where there is no Pod as well. I first need to find a way for a PodSpec which handles this. I may take a look at this if I have some spare time.

In the meantime, I would suggest to include the Xcode project in your workspace as described in the Install document. I hope you can get over this, since for the "average use case" the system provided JSON library (NSJSONSerialization) should be sufficient, and only for "special requirements" one need to fall back to JPJson. ;)

couchdeveloper avatar Apr 25 '14 19:04 couchdeveloper