I have an Cocoapod managed by Cocoapod with several dependencies on external libraries. One of them is MTDates , extends NSDate and NSDateComponents using prefix methods or not prefix if a specific preprocessor macro (this is what I want).
There are several places where I can put the definition of the macroprocessor so that the compiled library does not provide prefix methods, but everything seems to reset as soon as I ask Cocoapod update the project, which makes me think that these configurations are controlled by the pod specification. These include:
- Target cell assembly settings
- Private
.xcconfig file in .xcconfig files for file support
Changing the pod specification will require managing my own version of the library, which cocoapods update it when a new version is available. So my question is: is there a way to specify a preprocessor macro for Cocoapod dependency without breaking the pod and changing the module specification itself?
Edit
This article has an open issue that seems just around the corner.
source share