admin管理员组文章数量:1122846
I have this error when opening the iOS project created with the Kotlin Multiplatform Wizard tool from JetBrains:
No such module 'ComposeApp'
Does anyone know the reason?
Steps I follow:
- I download the KMP project as it is by default (Android and iOS with shared UI) from this URL: /
- I unzip the project.
- I run Android, and it works.
- I run iOS from Android Studio, and it gives a build error.
- I open the iOS project from Xcode, and in the
ContentView.swift
class, I get the error"No such module 'ComposeApp'"
referring to the lineimport ComposeApp
.
A few days ago, I created a project using the same wizard, and I had no issues. I’ve compared both projects and found no differences. I can't explain what’s happening.
I've repeated the process several times, cleared the caches of both Android Studio and Xcode, restarted the computer, opened Xcode first and then Android Studio... but I can't resolve it.
本文标签: androidKotlin Multiplatform Wizard tool from JetBrains No such module 39ComposeApp39Stack Overflow
版权声明:本文标题:android - Kotlin Multiplatform Wizard tool from JetBrains: `No such module 'ComposeApp'` - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736280944a1926160.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论