is there any way to speed it up? or are there some...
# compose-ios
j
is there any way to speed it up? or are there some new config need to be set?
🧵 1
z
It's probably normal for release builds, debug should be significantly faster. Make sure you follow all these best practices in your project: https://kotlinlang.org/docs/native-improving-compilation-time.html If you have some caching disabled for example, you could be hurting your build times.
f
Release build take time, there are some tips gave by @zsmb for reducing it. This is currently unavoidable.
a
You can also configure your build script so that it only links the current architecture on CI and locally. And you can also disable assembling the framework on CI and locally, keep it only if you are building from Xcode or publishing the framework. I've been doing it for quite some time already, saving plenty of time.
I'm using the regular framework building directly from Xcode, this is how I'm doing it: https://github.com/arkivanov/Decompose/blob/a53e5ef6352897e6aac2d1dd3d918072ed5276b8/sample/shared/shared/build.gradle.kts#L28
j
thanks all