Can one create a framework for mac catalyst? I’ve ...
# ios
w
Can one create a framework for mac catalyst? I’ve built the target:
Copy code
macosX64("mac") {
    binaries {
        framework("mac")
    }
}
but when I try to import the framework it says:
Copy code
/Users/*/Projects/RTE/apod-kampkit/ios/ApodKMP.xcodeproj Building for Mac Catalyst, but the linked and embedded framework 'mac.framework' was built for macOS. You may need to restrict the platforms for which this framework should be linked and embedded in the target editor, or replace it with an XCFramework that supports both platforms.
I’m a bit confused since it clearly says that the framework is (correctly?) built for macOS. I’ve also tried to put this framework in a normal macOS app project and it works
🚫 1
t
Unfortunately Mac Catalyst is not supported yet. See https://github.com/JetBrains/kotlin-native/issues/3713