https://kotlinlang.org logo
Title
p

pakoito

11/20/2020, 5:50 PM
I’m testing Compose for Desktop in OSX High Sierra, 10.13, and I’m finding a linking issue
> Task :desktop:run FAILED
dyld: lazy symbol binding failed: Symbol not found: _objc_alloc_init
  Referenced from: /Users/paco/.skiko/b9408918342fa3c0511232e1869d6b3885a57b45a57800586f357a2461785a4e/libskiko.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib
Are there any plans to provide binaries that are backwards compatible, or will Big Sur be the baseline for C4D apps?
k

Kirill Grouchnikov

11/20/2020, 5:50 PM
Not sure how far back they'd go on macOS
p

pakoito

11/20/2020, 5:52 PM
Thanks
o

olonho

11/20/2020, 6:11 PM
Use more recent version, i.e. 0.2.0-build127
k

Kirill Grouchnikov

11/20/2020, 6:14 PM
Nikolay - is there a way to keep track of the latest available builds?
p

pakoito

11/20/2020, 6:16 PM
|              +--- org.jetbrains.compose.foundation:foundation:0.2.0-build127 FAILED
|              +--- org.jetbrains.compose.material:material:0.2.0-build127 FAILED
|              +--- org.jetbrains.compose.runtime:runtime:0.2.0-build127 FAILED
|              \--- org.jetbrains.compose.ui:ui:0.2.0-build127 FAILED
     +--- org.jetbrains.compose.runtime:runtime:0.2.0-build127 FAILED
     +--- org.jetbrains.compose.foundation:foundation:0.2.0-build127 FAILED
     +--- org.jetbrains.compose.material:material:0.2.0-build127 FAILED
...
some of the artifacts aren’t published yet
lemme try with 126
k

Kirill Grouchnikov

11/20/2020, 6:18 PM
I got 127 earlier in the day
p

pakoito

11/20/2020, 6:22 PM
e: /Users/paco/Coding/compose/compose-jb/examples/bla/common/src/desktopMain/kotlin/example/imageviewer/style/Decoration.kt: (10, 16): Unresolved reference: ImageAsset
I have some unresolved deps there, even after
--refresh-dependencies
weird
o

olonho

11/20/2020, 6:22 PM
We recently started tagging Github repo: https://github.com/JetBrains/compose-jb/tree/0.2.0-build127
p

pakoito

11/20/2020, 6:24 PM
this is just a copy of the ImageLoader sample, I’ll need to update it 😄
thanks
k

Kirill Grouchnikov

11/20/2020, 6:25 PM
ImageAsset
is gone. Use
ImageBitmap
p

pakoito

11/20/2020, 6:34 PM
cool, I had to fix a couple of instances in
desktopMain/.../FullImageScreen.kt
where
Image
was ambiguous between the Compose and the skija versions. It works now
thank you
s

suresh

11/20/2020, 8:50 PM
is there a way to keep track of the latest available builds?
@Kirill Grouchnikov version plugin is working for me. Add this plugin
id("com.github.ben-manes.versions") version "0.36.0"
and run
./gradlew dependencyUpdates
k

Kirill Grouchnikov

11/20/2020, 9:02 PM
Oh right. But for me it's
classpath("com.github.ben-manes:gradle-versions-plugin:0.36.0")