https://kotlinlang.org logo
#decompose
Title
# decompose
d

Dmitry Danilau

11/14/2023, 8:12 PM
Hello, I faced with the exception during the build. Trying to use compose iOs I read all similar questions in the channel. > > Task composeApplinkPodDebugFrameworkIosArm64 FAILED > > FAILURE: Build failed with an exception. > > * What went wrong: > Execution failed for task ‘composeApplinkPodDebugFrameworkIosArm64’. > > Following dependencies exported in the podDebugFramework binary are not specified as API-dependencies of a corresponding source set: > > Files: [/.gradle/caches/modules-2/files-2.1/com.arkivanov.essenty/lifecycle-iosarm64/1.2.0/371c5a966ca5396d9a1653793fbc07a4ce2afaaf/lifecycle.klib] > Files: [/.gradle/caches/modules-2/files-2.1/com.arkivanov.essenty/lifecycle-iosarm64/1.2.0/371c5a966ca5396d9a1653793fbc07a4ce2afaaf/lifecycle.klib] > > Please add them in the API-dependencies and rerun the build. I exported modules and deps, and use api for the
essenty
and
decompose
dependencies. essenty version: 1.2.0 decompose version: 2.2.0-compose-experimental-alpha04. Also tried the same with old way to build Hierarchy, using
target by getting
and
dependsOn
for all iOs targets, received the same result. ty in advance =)
a

Arkadii Ivanov

11/14/2023, 9:20 PM
Could you post here what is
libs.essenty
exactly?
d

Dmitry Danilau

11/14/2023, 9:22 PM
Sure essenty 1.2.0
Copy code
essenty = { module = "com.arkivanov.essenty:lifecycle", version.ref = "essenty" }
a

Arkadii Ivanov

11/14/2023, 9:25 PM
What version of Decompose are you using?
d

Dmitry Danilau

11/14/2023, 9:26 PM
decompose version: 2.2.0-compose-experimental-alpha04
a

Arkadii Ivanov

11/14/2023, 9:29 PM
Thanks! This looks like a mismatch in transitive dependencies. Could you please try Essenty 1.3.0-alpha03?
K 1
d

Dmitry Danilau

11/14/2023, 9:37 PM
It works works with 1.3.0-alpha03. thank you 😃
a

Arkadii Ivanov

11/14/2023, 9:39 PM
You are welcome!
❤️ 1
2 Views