https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

Christopher Mederos

11/08/2023, 4:00 AM
I have a shared module setup with an iosMain dir. However, I've yet to add an 'iosApp' module to the project for the xcode, swift, etc. files. What's the best way to construct the necessary ios files and structure and link them properly. Looks like the wizard in android studio only has a tool for new projects, not existing ones. Thanks for the help!
j

Jeff Lockhart

11/08/2023, 4:41 AM
You can generate a new project with similar configuration as your existing project and then just copy the iosApp from it into your project. Assuming the shared module path is the same, it should have most of what you need to get started.
👍 1
c

Christopher Mederos

11/08/2023, 5:56 AM
Thanks, I've done that and managed to work it out with a bit of gradle finagling 👍
👍 1
2 Views