https://kotlinlang.org logo
#ios
Title
# ios
r

ribesg

12/11/2019, 10:29 AM
Anyone knows a good up to date tutorial on how to create a 100% Kotlin iOS app (not just a framework) ?
a

Artyom Degtyarev [JB]

12/11/2019, 10:31 AM
https://github.com/JetBrains/KotlinFinder ? Not a tutorial, but an example.
r

ribesg

12/11/2019, 10:33 AM
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

Anton Shelar [IceRock]

12/11/2019, 11:28 AM
You can try to specify only one architecture in the watch targets
r

ribesg

12/11/2019, 11:38 AM
message has been deleted
I think there are other places I need to change the value
a

Anton Shelar [IceRock]

12/11/2019, 11:40 AM
Watch extension, watch
r

ribesg

12/11/2019, 11:41 AM
Yes I set both to armv7k and I get this
Oh, I don’t have a WatchOS simulator anyway
Hmmm
a

Anton Shelar [IceRock]

12/11/2019, 11:47 AM
If you need only iOS application, you can try to build without watchOS application
r

ribesg

12/11/2019, 11:50 AM
Well I just want to check that the project actually works and understand why it wouldn’t in my case
l

louiscad

12/11/2019, 1:37 PM
@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

ribesg

12/11/2019, 1:45 PM
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

louiscad

12/11/2019, 2:04 PM
@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

ribesg

12/11/2019, 2:06 PM
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

Eugenio

12/11/2019, 2:15 PM
<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

louiscad

12/11/2019, 5:16 PM
Oh, thanks for the info! I was thinking about doing it, but if you do, then better!
n

Nick Halase

12/26/2019, 8:29 PM
@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

Jurriaan Mous

12/27/2019, 9:10 AM
There is also a project template in IntelliJ that creates a working iOS app setup.
3 Views