colintheshots
01/26/2025, 9:21 PM> A failure occurred while executing org.jetbrains.kotlin.gradle.plugin.mpp.apple.swiftexport.internal.SwiftExportAction
> Can't translate return type in fun MainViewController(): platform.UIKit.UIViewController: Symbol not found for platform/UIKit/UIViewController
// from androidx.compose.ui.window
import platform.UIKit.UIViewController
fun ComposeUIViewController(content: @Composable () -> Unit): UIViewController =
ComposeUIViewController(configure = {}, content = content)
sergey.bogolepov
01/31/2025, 3:46 PM@Composable
filtering (like it is done in Objective-C export) and export of interop types (like platform.UIKit.UIViewController
) are not support yet. So yeah, the best way right now is to avoid modules with Compose :)