Kotlin Multiplatform Mobile kann unter iOS nicht ausgeführt werden: Die Ausführung der Aufgabe „:shared:compileKotlinIosIOS

Programmierung für iOS
Anonymous
 Kotlin Multiplatform Mobile kann unter iOS nicht ausgeführt werden: Die Ausführung der Aufgabe „:shared:compileKotlinIos

Post by Anonymous »

Ich habe in KMM ein neues Projekt (Hello World) erstellt, gefolgt von der offiziellen Website. Unter Android funktioniert es reibungslos, aber wenn ich versuche, es in XCode auszuführen, werden Fehler angezeigt, aufgrund derer ich das Xcode-Projekt nicht erstellen/ausführen kann. Ich habe Screenshots und Protokolle für meine Fehler angehängt. Irgendwie wird das Xcode-Schema auf der KMM-Plattform nicht generiert, das vermute ich.
Kann mir bitte jemand helfen, zu verstehen, was ich übersehe?
Jede Hilfe wäre dankbar.
Image
Image
Image
Image

Code: Select all

Following is my dev env:

Xcode 11.4.1
Android 4.1.2
Kotling Plugin version 1.4.30 (stable)
KMM 0.2.0```

XCode Logs:

> Task :shared:compileKotlinIosX64
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.
Extracting dependency: /Users/fatin/.konan/cache/clang-llvm-apple-8.0.0-darwin-macos.tar.gz into /Users/fatin/.konan/dependencies
e: java.lang.RuntimeException: Cannot extract archive with dependency: /Users/fatin/.konan/cache/clang-llvm-apple-8.0.0-darwin-macos.tar.gz.

> Task :shared:compileKotlinIosX64 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:compileKotlinIosX64'.
> Compilation finished with errors

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
1 actionable task: 1 executed
Command PhaseScriptExecution failed with a nonzero exit code ```
[![enter image description here][3]][3]

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post