Hi today i have this problem when Xcode build proj...
# multiplatform
a
Hi today i have this problem when Xcode build project. New Project both Android Studio and IntelliJ Idea, New Project- Kotlin.. , shared Ui, compose multiplatform... on AS and Idea when i build it works, i can see app in Emulatore but in Xcode build failed: Command PhaseScriptExecution failed with a nonzero exit code
I resolved, maybe java version. I insert this in build phase ->Compile Kotlin Framework cd "$SRCROOT/.." # Forza l'uso del JDK corretto export JAVA_HOME=/Users/xxxx/Library/Java/JavaVirtualMachines/jbr-17.0.14/Contents/Home # Pulisci la cache di configurazione ./gradlew --stop # Rimuovi la cache se esiste rm -rf .gradle/configuration-cache # Esegui con le variabili d'ambiente di Xcode ./gradlew composeAppembedAndSignAppleFrameworkForXcode --no-configuration-cache