The main issue I'm running into is the inability to gate import statements in public headers. I'd like to be able to do something like:
#if defined COCOAPODS
#import <SomeModule/SomeModule.h>
#elsif defined SWIFT_PACKAGE
@import SomeModule;
#endif
inb4 someone tells me to just negate the COCOAPODS check. This is just an example, the actual use case involves more build variants than this and sometimes they overlap. ex: COCOAPODS and __cplusplus checks.