Site icon TechHype.io

KMPTemplate – Multiplatform Compose App for Android, iOS and Desktop

This template can be used to develop for three targets

  1. Android
  2. iOS
  3. Desktop

This is built to reduce the effort of configuring all the targets together such as Compose for Ios which currently does not have an ios target when creating a new compose multiplatform project using intellij idea.

This is a bear minimum without networking or other things such as db. This will only provide you a basic hello world app setup.

How it works?

Template Features

Is it production ready?

Well yes and no at the same time. You can use compose generated UIControllers with swift ui to share ui and use swift ui or uikit for features like camera, sensors etc.

If you have any suggestion or found a bug please add it to the issues.

Troubleshooting

MacOS on Apple Chip (M1/M2)

If you encounter the error 'pod install' command failed with code 1. run the following commands in the terminal

sudo softwareupdate --install-rosetta --agree-to-license
sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc
KMPTemplate on GitHub: https://github.com/Kashif-E/KMPTemplate
Platform: кроссплатформа
⭐️: 129

Exit mobile version