Anyone knows a good up to date tutorial on how to ...
# ios
r
Anyone knows a good up to date tutorial on how to create a 100% Kotlin iOS app (not just a framework) ?
a
https://github.com/JetBrains/KotlinFinder ? Not a tutorial, but an example.
r
Looks like a good up to date starting point, thanks @Artyom Degtyarev [JB]
Well, the project doesn’t build 😞
1
message has been deleted
a
You can try to specify only one architecture in the watch targets
r
message has been deleted
I think there are other places I need to change the value
a
Watch extension, watch
r
Yes I set both to armv7k and I get this
Oh, I don’t have a WatchOS simulator anyway
Hmmm
a
If you need only iOS application, you can try to build without watchOS application
r
Well I just want to check that the project actually works and understand why it wouldn’t in my case
l
@Artyom Degtyarev [JB] KotlinFinder doesn't seem to work out of the box judging from the comments above… Would be nice for you to have a CI building it, and maybe also testing it, to ensure it doesn't work only on your machine. I had the same experience with KotlinConfApp a few months ago, that got me delaying my use of KMPP significantly.
r
Now I’m just trying to create a pure Kotlin app project from scratch, just reading old articles and the source for KotlinFinder. Hard.
l
@ribesg FYI, I extracted a module from official samples, I plan to publish it this week following a talk I did about 10 days ago at KotlinDay #london
r
Nice. I think that once I’m able to have XCode build and launch an app with a Kotlin AppDelegate I should be fine
e
<clippy-voice> It looks like you're trying to build a Kotlin MPP app. Would you like help? 👌 🚫 </clippy-voice>
👌 1
😄 1
btw we're planning to build a cohesive sample for all things MPP that will always be kept up-to-date and (also) serve as a template for new projects
🎉 4
l
Oh, thanks for the info! I was thinking about doing it, but if you do, then better!
n
@Eugenio what I would really find valuable along with that is an idiomatic guide to the Gradle Kotlin DSL for MPP and Native. There are so many different styles of Gradle scripts for these projects out there–I’d like to know how JetBrains intends us to write our Gradle scripts and layout our projects.
👍 1
j
There is also a project template in IntelliJ that creates a working iOS app setup.