Spoudel347
05/13/2024, 4:36 PM> Task :core:assembleMarbleSharedReleaseXCFramework FAILED
No 'swiftinterface' files found within '/Users/<>/build/bin/iosArm64/releaseFramework/ProjectNameShared.framework/Modules/ProjectNameShared.swiftmodule'.
Spoudel347
05/13/2024, 4:36 PM> Task :core:linkReleaseFrameworkIosArm64
w: 'var ProjectNameShared.Ktor_httpHttpStatusCode.description' was renamed to 'var ProjectNameShared.Ktor_httpHttpStatusCode.description_' because of a name collision with an another declaration 'func ProjectNameShared.KotlinBase.description() -> Swift.String'. Consider resolving the conflict either by changing the name in Kotlin, or via the @ObjCName annotation. You can also suppress this warning using the 'SuppressSkieWarning.NameCollision' configuration. However using renamed declarations from Swift is not recommended because their name will change if the conflict is resolved.
(at val description: String defined in io.ktor.http.HttpStatusCode)
> Task :core:linkReleaseFrameworkIosSimulatorArm64
w: 'var ProjectNameShared.Ktor_httpHttpStatusCode.description' was renamed to 'var ProjectNameShared.Ktor_httpHttpStatusCode.description_' because of a name collision with an another declaration 'func ProjectNameShared.KotlinBase.description() -> Swift.String'. Consider resolving the conflict either by changing the name in Kotlin, or via the @ObjCName annotation. You can also suppress this warning using the 'SuppressSkieWarning.NameCollision' configuration. However using renamed declarations from Swift is not recommended because their name will change if the conflict is resolved.
(at val description: String defined in io.ktor.http.HttpStatusCode)
> Task :core:assembleProjectNameSharedReleaseXCFramework FAILED
No 'swiftinterface' files found within '/Users/<>/build/bin/iosArm64/releaseFramework/ProjectNameShared.framework/Modules/ProjectNameShared.swiftmodule'.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:assembleProjectNameSharedReleaseXCFramework'.
> Process 'command 'xcodebuild'' finished with non-zero exit value 70
Filip Dolník
05/13/2024, 4:37 PMskie {
build {
enableSwiftLibraryEvolution.set(true)
}
}
Spoudel347
05/13/2024, 4:37 PMSpoudel347
05/13/2024, 4:42 PMFilip Dolník
05/13/2024, 4:43 PMSpoudel347
05/13/2024, 4:48 PMFilip Dolník
05/13/2024, 4:49 PMSpoudel347
05/13/2024, 4:52 PMDaniel Seither
05/13/2024, 4:52 PMkotlin {
jvmToolchain(11)
val xcfName = "Redacted"
val xcf = XCFramework(xcfName)
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
binaryOption("bundleId", "red.act.ed")
baseName = xcfName
xcf.add(this)
export(projects.data)
export(projects.domain)
export(projects.presentation)
}
}
}
Filip Dolník
05/13/2024, 4:54 PMFilip Dolník
05/13/2024, 5:07 PMLeo Yamamoto
05/13/2024, 5:24 PMThe only exception is when building XCFrameworks, which require the library evolution to be enabled.
Daniel Seither
05/13/2024, 5:29 PMFilip Dolník
05/13/2024, 5:32 PMswiftinterface
file) For this reason SKIE automatically enables it and the bug is in the auto detection that is supposed to enable it (it works for the newer Artifact APIs but not for the original API because we accidentally didn’t have a test for it 😄).Filip Dolník
05/15/2024, 10:42 AMSpoudel347
05/15/2024, 10:43 AMFilip Dolník
05/15/2024, 12:34 PM0.7.1-preview.2.0.0-RC3
) is now also public.Bijan Cronin
07/29/2024, 1:36 AMFilip Dolník
07/29/2024, 5:54 AMskie {
build {
enableSwiftLibraryEvolution.set(true)
}
}
Bijan Cronin
07/29/2024, 1:26 PMFilip Dolník
07/29/2024, 1:28 PMZvonimir
10/28/2024, 1:20 PMskie {
build {
enableSwiftLibraryEvolution.set(true)
}
}
the issue is gone. But as you said, it is a workaround, so I would like to solve this issue properly.Filip Dolník
10/29/2024, 11:44 AMJacob Ras
11/05/2024, 4:58 PM