hafiz
02/04/2025, 1:39 AM> Task :composeApp:linkReleaseFrameworkIosArm64 FAILED
w: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
e: Compilation failed: Java heap space
* Source files:
* Compiler version: 2.0.20
* Output kind: FRAMEWORK
and here also:
> Task :composeApp:xcodeVersion
w: Kotlin <-> Xcode compatibility issue:
The selected Xcode version (16.2) is higher than the maximum known to the Kotlin Gradle Plugin.
Stability in such configuration hasn't been tested, please report encountered issues to https://kotl.in/issue
Maximum tested Xcode version: 15.3F
02/05/2025, 1:06 AMlistOf(
iosArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "ComposeApp"
isStatic = true
binaryOption("bundleId", "<your bundleid/appid>") // add this
}
}
hafiz
02/05/2025, 2:55 AM#Gradle
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx4096M"
and
kotlin.apple.xcodeCompatibility.nowarn=true
then running ./gradlew buildDumitru Preguza
04/20/2025, 8:25 AM