I'm new to native, ios, mac development etc. so I'...
# kotlin-native
s
I'm new to native, ios, mac development etc. so I'm not sure what I've got to do here.
o
What distribution of Kotlin/Native do you use? Is it git repo or v0.4 redistributable?
s
Ah, um. I just pulled the kotlin/native git repo and tried to build the tetris sample, so whatever version that is using.
And for git version, you need to build compiler first, please read README.md
s
Sorry I will try the distribution, but the readme wasn't clear for me how to build the compiler so I wasn't sure what to do.
Fantastic, I was able to make it build, but I'm unsure of how to deploy it to iphone. I see "Take Info.plist and use XCode" but being new to ios/native dev I'm not sure what to do with it. I tried creating a new xcode project and putting the info.plist in there, but that didn't do anything. Do I need to copy the kexe somewhere?
o
you can use setup from iOS part of https://github.com/JetBrains/kotlinconf-spinner, where building app is one of the build phases in the XCode project, and then deploy on the phone. Take a look on Andrei's session here

https://www.youtube.com/watch?v=3Lqiupxo4CE

, i may give you some insight
s
Yeah I've watched that talk like 3 times now, including seeing it in person. I was able to get the kotlin spinner app to deploy fine to my phone, just am having trouble with the tetris one.