Jan
05/10/2023, 1:26 PMapi(libs.decompose)
api(libs.essenty.lifecycle)
+ in cocoapods:
export(libs.decompose)
export(libs.essenty.lifecycle)
transitiveExport = false
isStatic = true
+ in iOSApp.swift
DefaultComponentContext(lifecycle: lifecycle)
=> cannot find 'DefaultComponentContext' in scope
Any idea?Arkadii Ivanov
05/10/2023, 1:59 PMJan
05/10/2023, 2:26 PMJan
05/10/2023, 3:01 PM// Version Decompose: 2.0.0-alpha-02
// Version Decompose-Extensions: 2.0.0-compose-experimental-alpha-01
// Module: com.arkivanov.decompose:extensions-compose-jetbrains
implementation(libs.decompose.extensions.jetbrains)
Arkadii Ivanov
05/10/2023, 3:06 PMJan
05/10/2023, 3:08 PMCould not resolve all dependencies for configuration ':gs_api_multiplatform:iosArm64CompileKlibraries'.
> Could not resolve com.arkivanov.decompose:extensions-compose-jetbrains:2.0.0-alpha-02.
Jan
05/10/2023, 3:13 PMArkadii Ivanov
05/10/2023, 3:14 PMAnum Amin
05/11/2023, 4:02 PMDefaultComponentContext
inside DefaultComponentContextBuilderKt
. Also, it is declared as a class in DefaultComponentContext
. I am not a KMM pro, just thinking why all the classed declared in here are not accessible from xcode. Is it because of kotlin 1.8.20, KMM's cocoapods support or anything else? Is there something we can do to debug? I really wanted to use this library 🌟Anum Amin
05/11/2023, 4:05 PMArkadii Ivanov
05/11/2023, 5:45 PMArkadii Ivanov
05/11/2023, 5:56 PMAnum Amin
05/11/2023, 6:05 PMapi("com.arkivanov.decompose:decompose:2.0.0-alpha-02")
api("com.arkivanov.decompose:extensions-compose-jetbrains:2.0.0-compose-experimental-alpha-02")
api("com.arkivanov.essenty:lifecycle:1.1.0")
Anum Amin
05/11/2023, 6:06 PMArkadii Ivanov
05/11/2023, 6:15 PMAnum Amin
05/11/2023, 6:50 PMArkadii Ivanov
05/11/2023, 7:26 PMJan
05/11/2023, 7:38 PMAnum Amin
05/11/2023, 7:50 PMIt feels that only things actually used in Kotlin are exported, isn't it?I would say yes majority are those classes.
StackNavigation
is not accessible although I have used it in root component.Anum Amin
05/11/2023, 7:52 PMIs iosApp build successfull via xcode/androidStudio? If not, make it build by uncomment all broken stuff and try to build until its successful. Maybe the iOS framework is still the old one … (edited)I am aware of this fact. I have commented out my all code and trying with limited lines only. Without
DefaultComponentContext
, it compiles fine. Did you try at your end with same versions?Arkadii Ivanov
05/11/2023, 7:52 PMAnum Amin
05/11/2023, 7:53 PMArkadii Ivanov
05/11/2023, 8:10 PMAnum Amin
05/11/2023, 9:16 PMArkadii Ivanov
05/11/2023, 9:47 PMArkadii Ivanov
05/11/2023, 9:47 PMArkadii Ivanov
05/11/2023, 9:50 PMAnum Amin
05/12/2023, 5:42 AMArkadii Ivanov
05/12/2023, 8:16 AM