Но когда я попытался открыть проект iOS в XCode, я не получил такого модуля «ComposeApp»< /code> ошибка в файле ContentView. См. снимок экрана.

После Проведя некоторое время в Интернете, мне предложили пересобрать проект в студии Android, тогда проблема будет решена.
Но когда я нажимаю «перестроить/сделать проект» в студии Android, Я получаю эту ошибку:
Код: Выделить всё
> Task :composeApp:compileIosMainKotlinMetadata FAILED
e: Compilation failed: An error occurred during an xcrun execution. Make sure that Xcode and its command line tools are properly installed.
Failed command: /usr/bin/xcrun xcodebuild -version
Try running this command in Terminal and fix the errors by making Xcode (and its command line tools) configuration correct.
* Source files: MainViewController.kt, Platform.ios.kt
* Compiler version: 2.0.0
* Output kind: LIBRARY
e: org.jetbrains.kotlin.konan.MissingXcodeException: An error occurred during an xcrun execution. Make sure that Xcode and its command line tools are properly installed.
Failed command: /usr/bin/xcrun xcodebuild -version
Try running this command in Terminal and fix the errors by making Xcode (and its command line tools) configuration correct.
Код: Выделить всё
xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
В чем может быть проблема? Как это можно решить?
Будем благодарны за любую помощь.
Подробнее здесь: https://stackoverflow.com/questions/786 ... -and-its-c