Hi 👋. Please help here.
I have two KMP projects, P1 and P2, where P2 -> P1.
P1 purely has Kotlin code and doesn't have any platform-specific code.
P2 does have Android and iOS-specific code and is also consuming P1. P1 is using a Maven repository for publishing artifacts.
I was planning to use a Linux-based machine for CI-CD publishing of P1 and a Mac-based machine for P2 for further consumption.
While testing the above setup, I am getting an error where P2 is not able to resolve iOS-specific artifacts from P1.
I understand that my Linux-based machine will not be publishing iOS-specific artifacts, but I am not able to understand why iOS-based artifacts from P1 are required by P2 given that P1 doesn't have any platform-specific code.