If a package contains iOS specific resources (eg. Xib views), Xcode complains that these resources are not available when building the package for macOS.
iOS xibs do not support target device type "mac".
Is it possible to restrict resources to a specific platform?
Code using these resources is wrapped with