Preprocessor Macros in Pods
As mentioned earlier, we can inject macros into Pods from the outside by modifying the Podfile. You can refer to this article Inject TEST macros into Pods.
Sometimes there are some macros that are expected to be used inside the Pods library we wrote ourselves.
A common practice, just like ordinary business code, define a macro definition header file, and then import.
But sometimes there are such scenarios, such as logging or providing some externally exposed APIs, you need to provide the version of the current library.