Is it possible to work on KMM projects on Linux ma...
# compose-ios
s
Is it possible to work on KMM projects on Linux machines? As in be able to write code and build at least Android variants.
đź‘Ť 1
d
Yes. Compose Multiplatform project can be used on Linux host for Desktop and Android targets. But to compile iOS native part you need MacOS.
s
My question is if one of the targets/module is iOS then can even the project be run at all. Considering it will require pod install even to build the project for the first time.
Coding and building android/desktop target on Linux even if I can't code, build, test iOS. Can such a project be built on Linux.
d
Yes. It should work
s
What happens when it tries to run pod install?
a
d
pod install will works only on MacOS
l
The only issue I've run into is that cocoapod dependencies in iosMain will always show an error if you look in the IDE on linux or windows. It doesn't stop you from building/running, since you're not building for ios.