Hayk Kerobyan
01/22/2024, 5:56 PMno such module 'ComposeApp'
ContentView.swift
import UIKit
import SwiftUI
import ComposeApp
struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
MainViewControllerKt.MainViewController()
}
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
}
}
What I assume is that cocoapods dependency manager replaced another dependency mechanism that used to be before and that's why the iOS app doesn't recognize the ComposeApp module. Any idea how can I fix it?Mats-Hjalmar
01/22/2024, 6:36 PMHayk Kerobyan
01/22/2024, 6:50 PMMats-Hjalmar
01/22/2024, 6:52 PM