IBDesignables SPM - Xcode 12

When we try to use a component that is IBDesignable from a library with SwiftPackageManager, the compilation of the designables fails because it is not compatible with tvOS or macOS when it is a library that is only for iOS.

There is no way to specify that an "only" package is compatible with iOS and that the designables work in XCode 12

Replies

I am also having this problem, is there anyway to disable tvOS and macOS in interface builder? It should be picking up what the project is set to support, which is just iOS.