Previously if platforms were left out of the
platforms list in a Package.swift manifest, generated Xcode projects wouldn't include those platforms. Now that there are minimum default platforms, generated projects include the ability to build for all platforms, and there doesn't seem to be any way to make my package not build for a specific platform.
I have a package that I'd like to only build for iOS. I import it into a project that has both iOS and watchOS targets. I don't want Xcode to build that package when I'm building for watchOS.
Is there any way to do this?