Testing Macros with iOS only Targets in Package

I've been experimenting with macros in a package that contains iOS only packages. When attempting to run tests for the macro implementation, SPM attempts to build all the packages for macOS (instead of just the macro implementation) causing a build failure and being unable to test the macro in a package with iOS only code. Is there a way to make this work or do I just need to suck it up and split the macro implementation into a separate package and repo?

1 Like