How to create a specification for a new version of the main library?

I recently released the SBJson version. This is a new important version that does not support backward compatibility. Since SBJson is widely associated with other popular libraries, I renamed all classes and enumerations to make sure that they can be used in conjunction with previous versions.

However, I'm not sure how best to deal with this situation with CocoaPods. I have implemented the 4.0.0 spec to the existing SBJson specifications, but I suspect that it will not be possible to install versions 3.2 and 4.0.0 in the same project. Should I clone the 4.0.0 specification into the SBJson4 specification (note the additional primary number by name)?

+6
source share
1 answer

Morning.

If you want both versions to be installed at the same time at the same time, they probably should be separate containers.

AFAIK, you cannot install one module installed twice in a project. I don’t even know how to get around linker errors, etc., so that this is possible!

+2
source

All Articles