iOS xibs do not support target device type "mac"

After adding a native Mac target (SwiftUI Multiplatform + AppKit) to an iOS app, I get this compiler error. Does this require moving off of XIBs entirely, or is there something else I can do to resolve this error?

Replies

It's been a while since I worked with xib files, but I doubt a single xib file would work on both iOS and Mac. You probably need to create new xib files for Mac.