https://kotlinlang.org logo
#touchlab-tools
Title
# touchlab-tools
t

Trey

11/21/2023, 8:04 PM
I am moving an existing project into the new template for compose multiplatform from the KMP wizard that JetBrains recently released. All was going well until I added in my cocoapods block, which contains two pods (OpusKit and AppAuth). Then I started getting this error 'Could not find co.touchlab:stately-common"'. I don't include stately-common directly. Can somebody tell me how this is implicitly being required and how I might work around it? My intention is to use the best practice with this new project structure and also upgrade to the latest versions of everything I'm using.
k

kpgalligan

11/23/2023, 1:42 AM
Are you using sqldelight? There are some conflicting dependencies in 2.0. Hopefully a newer build is released. In the meantime, you can include
stately-common
explicitly. If you are using that, I'd have to try to dig up the discussion about it and what versions to include.
👍 1
t

Trey

11/23/2023, 1:42 AM
Yes, I am using sqldelight.
k

kpgalligan

11/23/2023, 1:46 AM
The workaround is including
stately-common
explicitly until sqldelight gets bumped to 2.1. IIRC, the issue was with the paging library, which included a much older version of stately.
🙌 1
t

Trey

11/23/2023, 1:48 AM
Thanks for the info. I'll add stately explicitly.
21 Views