Please find my build.gradle
Also, can you please let me know:
1. Should I create any folders for the build or will folders be automatically created?
2. To generate build, should we “run app” or “Sync Project With Gradle Files”?
l
louiscad
06/13/2019, 9:05 PM
build directories are automatically created by gradle when you run the build.
Sync project with Gradle files makes the IDE know about your Gradle project structure, and ensures all dependencies are available for autocompletion.
To build, you need to hit the run button (green arrow in IDE)or run the appropriate Gradle task, which depends on the platform you're building for
b
Bhattachar
06/14/2019, 7:13 PM
Thanks a lot for reply. I can see apk generated for android when I click run button. Any suggestion on why iOS is frameworks are not generated ?
l
louiscad
06/14/2019, 7:32 PM
@Bhattachar Probably because of misconfiguration? For iOS, I'd recommend you to look at Cocoapods integration here: https://kotlinlang.org/docs/reference/native/cocoapods.html
That should simplify consuming your Kotlin/Native framework.
b
Bhattachar
06/14/2019, 7:33 PM
Cool… thank you so much 🙂
Will give a try
l
louiscad
06/14/2019, 7:38 PM
BTW, I'm an Android and Kotlin developer, currently working on making a library module multiplatform, adding iOS support. Cool to see people from the other side joining the multiplatform movement!