Hey Phillip. An OG supporter of your content here. A video on building a KMM library would be sooo massive. This is the best time to be getting into sdk dev for KMM where devs could be adding huge value for the future. A production level tutorial for a library would definitely be a first on RUclips and soooo helpful. Hope this reaches you and we see a video on that soon. Cheers!
thanks Philipp! this is just in time. i am also exploring KMM. btw, i am a android and ios native developer. But i was grateful for your videos about jetpack compose. thanks again!
How easy is it to go native on both platforms? Would you recommend it or it’s just better to use KMM for anything iOS related? I am a native Android developer who loves Kotlin and Java so much. The issue is I am quite unsure about choosing between learning iOS native or just sticking with KMM.
@@osisuper98 when developing app using KMM, you should have at least a basic knowledge of iOS native or learn iOS development. Because it defeats the purpose of KMM if you want to develop the app on android only. Might as well do a regular android project.
Hey Philipp, Great work with all of these videos. Keep doing that! It would be nice to see a tutorial in which the KMM part is a library imported in existing Android & iOS projects. I think that would be very interesting and helpful!
I wonder how many times you have said “actually” in this video. Lol great tutorial btw. I Have to create a KMM project for my job, and this helped. Thanks.
Great video! I'm also a RUclipsr so I would recommend you to edit the closed captions via RUclips Studio > Content > video Details > Subtitles > Duplicate and Edit the Automatic Subtitles > Edit incorrect words like Japan vs Jetpack > Publish > Thanks for the excellent video!
Wow... I haven't given KMM a try before but I so much love the logic behind it. I currently want to build a chat app with it and in the process will learn Swift
What a magical timing !!! Thanks a lot for the KMM series. I'm currently working on a big project which we want to migrate the business logic and data logic (if it's possible even VMs) into a KMM shared module, I would appreciate if you could dedicate an episode for implementing KMM with existing projects (android and iOS).
seeing as how viewmodels usually contain conpose states, that might be...difficult, you'd have to have a dedicated viewmodel for the logic, and one for the compose states, something like MainViewModel for the logic(the one you will share), and a MainStateViewModel(the one for compose state you won't share), I personally think that's too much effort for no benefit because viewmodels are more associated with the ui than anything, and ui is something you don't share, besides, viewmodels tend to be specific to the way things are shown in the ui, which may not be the same on every platform
Really Happy you did this video. When the best Android coach in the world does this video the community think over (with the time) on making KMM better, and we will see compose IOS as flutter with a dedicated library
Thank you for the video Phillip! Can you do a video about how to create and publish a KMP library that we can then use in an existing Android and iOS native apps? Thanks!
KMM is so interesting. Sharing viemodels is the most difficult and interesting topic. I just hope that compose ui will be released soon with iOS support
Dont hold you breath.... Apple is being very stubborn about any kind of cross platform tooling. They are literally like Internet Explorer from Microsoft from 2000-2016
Thanks for all your excellent videos. I'm really looking forward to watching the rest of this series. However, I think cocoapods is going to be a problem. I can't get cocoapods-generate installed, it's just dependency hell. I've had much better experiences with Swift Packages (SPM), and there seems to be a general trend of deprecating cocoapods in favour of SPM. There are some plugins to integrate SPM into KMM, so I'll be trying those instead. Perhaps you could investigate that and make some videos about it? I think that would be helpful to anyone interested in this series.
I've got a problem with cocoapods, had to instal ruby 2.7, but didn't solve the problem. Now i have ruby 2.7 installed but still getting the error that i have to install it
do you think this will become a standard?? like some big companies launching huge apps for both platforms using KMM? competing with flutter? sounds amazing..
Hey I am getting this error -> ✖ Xcode requires to perform the First Launch tasks Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal. Any help?
Would you focus on the Swift UI part on this Playlist? I think it's the powerful part of KMM but also a big disadvantage for Android or IOS developers to stay up to date with all the newest things of Jetpack compose and Swift UI
At work we have 3 kmm projects and it's pain in the *** supporting it, and it still requires 2 developers to work on it. But I heard now ios part can be written in compose which is probably going to make it much easier
Each have their own pros and cons :) do a research about this topic, and don't forget Xamarin which is still a thing but lacks devs and a good community.
I was using xcode14.0.1 and macos Monterey; when I run kdoctor, I get the message: * Xcode requires to perform the First Launch tasks Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal However, I have launched the xcode and ran the startup app; I still get the same message; i can. not find xcodebuuild on my mac ...
What bothers me the most is that you need an Apple PC to be able to develop for apple. Seriously Apple: why do you think a monopoly is okay when you do it?
i think initial reason was to save some cash. their crappy ide works only in their environment and they decided implementing cross-platform version from scratch would be expensive and technically complicated. then they converted this fail into marketing feature.
XCode 15 review does not have UIKit so, cocopods is old .... not sure if this is a good idea for the future. We build with Swift / SwiftUI / Swift structured concurrency / Swift package manager and know our iOS app will always be supported ...
Thanks for great video. I have been using windows for java development. For using android studio with kotlin and intellij IDE, which os (iOS or windows) should I choose for a new computer? Do these IDEs run on iOS as good as on windows? Thanks for advice.
I wonder about the target of KMM, I mean nobody wants to write an app twice but needing two IDEs and at the end needing iOS and Android knowledge to build the app doesn't sound really compeling, don't know how it is supposed to gain market share against for example Flutter.
@@PhilippLackner I know, but if you prioritize quality or have the resources I would stick with native iOS and Android, won't even use KMM, if I must prioritize resources then I won't go with KMM, I would go with Flutter.
in case of flutter you have to force your devs learn all the stuff from scratch. new framework, new libs, new (and crappy) language. also interop with native is a nightmare. while choosing kmm you continue to do mostly the same things. except business logic now shared and written in kotlin (which is a win itself). and coroutines! also data models layer could be shared with backend. also you can use jetpack compose which will be ported to ios in near 2 years, and already works fine on desktops.
Hey Philipp, i am new with Kotlin i was wondered if its possible build a full functional app using only kotlin programming language...if possible as kotlin multiplatform mobile application...thanks
Yep all nice and good and thank you for the video, but in terms of cross platform anything beyond Hello World and or getting stuff from the web and displaying it on screen, any hardware integration like Bluetooth will quickly transform these cross platform projects into a huge pain. Native all the way.
I got this error when running kdoctor: Xcode requires to perform the First Launch tasks. I am not sure why though and I have accepted all licenses for xcode.
In my opinion, Just like cross platform is not THE solution and people keep choosing to develop Native apps, KMM is a solution for who wants the advantage of cross platform that is shared code while getting native UI, it will be another option. It's could potentially be the last nail in the Native coffin
I would like to see one day jetpack compose or swiftui can do web app perfect. Why bother too much between too very different company's native private garden? Most of the big app have their own shared cloud backend, so the ui part is the most cumbersome.
Hello! For Windows (and Android only) you just need to install plugin: Kotlin Multiplatform Mobile, restart Android Studio and create new project (Kotlin Multiplatform App). If you want both (iOS and Android) you will need to install virtual machine (like VMware ) to use XCode.
Hallo Philipp konntest du mir bitte antworten, damit KMM app machen die laptop muss MacBook Sein? weil, wir sind benutzen Ios auch , sondern Ios geht nicht mit windows systesm. Konntest du antworten damit, herzlichen Danke dir zu vor
I have a M1 mac mini 2020. No matter what i do, can`t install cocoapods-generate, always "cocoapods-generate plugin not found". tried to "sudo gem install cocoapods-generate" and nothing.
I deliver my first project as a freelancer past week, couldn't take the second one cause client require also an iOs app. This came in perfect time.
Hey Phillip. An OG supporter of your content here. A video on building a KMM library would be sooo massive. This is the best time to be getting into sdk dev for KMM where devs could be adding huge value for the future. A production level tutorial for a library would definitely be a first on RUclips and soooo helpful. Hope this reaches you and we see a video on that soon. Cheers!
👍
thanks Philipp! this is just in time. i am also exploring KMM. btw, i am a android and ios native developer. But i was grateful for your videos about jetpack compose. thanks again!
How easy is it to go native on both platforms? Would you recommend it or it’s just better to use KMM for anything iOS related? I am a native Android developer who loves Kotlin and Java so much. The issue is I am quite unsure about choosing between learning iOS native or just sticking with KMM.
@@osisuper98 when developing app using KMM, you should have at least a basic knowledge of iOS native or learn iOS development. Because it defeats the purpose of KMM if you want to develop the app on android only. Might as well do a regular android project.
This series is gonna be the bomb! I'm all in! Thank you Philipp ❤
Cant tell you how incredibly excited I am for this....
Great for me, I just started learning KMM so that I can work on a project at my org. Please release more videos in this playlist.
Hey Philipp,
Great work with all of these videos. Keep doing that!
It would be nice to see a tutorial in which the KMM part is a library imported in existing Android & iOS projects.
I think that would be very interesting and helpful!
Thank you for your video. It's more updated than official Kotlin docs.
Thank you Philipp! We can’t wait to follow through your KMM series and learn cross platform with you.
Great introductory video. Can't wait for the next one. Keep up the good work 👏
We are all waiting. Thx Philipp ♥
Great stuff. I'm very excited for this series
I wonder how many times you have said “actually” in this video. Lol great tutorial btw. I Have to create a KMM project for my job, and this helped.
Thanks.
Finally the wait is over ♥️
Great video! I'm also a RUclipsr so I would recommend you to edit the closed captions via RUclips Studio > Content > video Details > Subtitles > Duplicate and Edit the Automatic Subtitles > Edit incorrect words like Japan vs Jetpack > Publish > Thanks for the excellent video!
😍😍😍😍 please continue I am very happy to see that.
Perfect timing! Thanks and looking forward to it.
Wow... I haven't given KMM a try before but I so much love the logic behind it. I currently want to build a chat app with it and in the process will learn Swift
Thanks a lot, have been waiting for this.
I've have learned a lot of of skills from you. be blessed and keep moving forward.
What a magical timing !!!
Thanks a lot for the KMM series.
I'm currently working on a big project which we want to migrate the business logic and data logic (if it's possible even VMs) into a KMM shared module, I would appreciate if you could dedicate an episode for implementing KMM with existing projects (android and iOS).
Me too it's for my thesis 😅
seeing as how viewmodels usually contain conpose states, that might be...difficult, you'd have to have a dedicated viewmodel for the logic, and one for the compose states, something like MainViewModel for the logic(the one you will share), and a MainStateViewModel(the one for compose state you won't share), I personally think that's too much effort for no benefit because viewmodels are more associated with the ui than anything, and ui is something you don't share, besides, viewmodels tend to be specific to the way things are shown in the ui, which may not be the same on every platform
I am so glad that JetBrains have improved the tooling. Look forward for more videos.
thank you soooooooooooooooo much... at least hope is rising gradually.. cos that's one of the reason I embraced Kotlin
That's going to be very interesting 👏👏👏👏
Really Happy you did this video. When the best Android coach in the world does this video the community think over (with the time) on making KMM better, and we will see compose IOS as flutter with a dedicated library
Really interested in KMM, please continue with the playlist 🥰
Thank you for the video Phillip!
Can you do a video about how to create and publish a KMP library that we can then use in an existing Android and iOS native apps?
Thanks!
Even same things i want
KMM is so interesting.
Sharing viemodels is the most difficult and interesting topic. I just hope that compose ui will be released soon with iOS support
Dont hold you breath.... Apple is being very stubborn about any kind of cross platform tooling. They are literally like Internet Explorer from Microsoft from 2000-2016
Excelent Philipp! Will try to follow your insightnments and put mac mini to use :)
waiting over 😁
Experienced folks, you can skip to the part 05:06 to get started with KMM.
first!! but at office, will learn this later when i get back home 😅👌
Thank you so much! I'm waiting for the next lesson.
This is Awesome 💪🏾
Thanks for all your excellent videos. I'm really looking forward to watching the rest of this series. However, I think cocoapods is going to be a problem. I can't get cocoapods-generate installed, it's just dependency hell. I've had much better experiences with Swift Packages (SPM), and there seems to be a general trend of deprecating cocoapods in favour of SPM. There are some plugins to integrate SPM into KMM, so I'll be trying those instead. Perhaps you could investigate that and make some videos about it? I think that would be helpful to anyone interested in this series.
Awesome Keep it up ♥
Thank you so much, you just make it simple.
exciting!
Will you add also KotlinRedux? or it will be basic KMM tutorials?
Thanks! Cool video!
Waitong for next part
I've got a problem with cocoapods, had to instal ruby 2.7, but didn't solve the problem. Now i have ruby 2.7 installed but still getting the error that i have to install it
Same problem…
You need to rollback the version of your xcode or try to do some script in rosseta terminal
Turned out that i had to use -rvm use 2.7.2
@@stankodujakovic3935 how solved?
command please
Wow! Nice 👌🏿
do you think this will become a standard?? like some big companies launching huge apps for both platforms using KMM? competing with flutter? sounds amazing..
It could be. KMM is improved. Flutter is very popular nowadays and it is really easy to build in both. One code.
Very Cool 👍👍👍👍
That is awesome my friend! Thanks for sharing!
I request you to please maintain a playlist will be very useful for later. Thanks in advance.
There is already one I created :)
Kdoctors says I need to run first build with xcode. Done that but I don't seem to get a pass in kdoctor
Hey I am getting this error -> ✖ Xcode requires to perform the First Launch tasks
Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal.
Any help?
Try this:
• open Xcode
• Preferenes -> Locations -> Command Line Tools
• select Xcode in dropdown
Brother can you please teach how to install Mac OS in windows so we can use it to develop apps ios and android
look for hackingtosh
I had the brilliant idea of using a - in my shared module name :D That was the only hiccup. - translates to _ in the Swift import
Would you focus on the Swift UI part on this Playlist?
I think it's the powerful part of KMM but also a big disadvantage for Android or IOS developers to stay up to date with all the newest things of Jetpack compose and Swift UI
How is SwitfUI a part of KMM?
At work we have 3 kmm projects and it's pain in the *** supporting it, and it still requires 2 developers to work on it. But I heard now ios part can be written in compose which is probably going to make it much easier
thanks for the video ❤️
KMM or RN or FLUTTR ?
Which one will be the preferred one in future? Jus a thought 💭
Each have their own pros and cons :) do a research about this topic, and don't forget Xamarin which is still a thing but lacks devs and a good community.
we did such research a year ago and chose kmm. never regret.
btw we even didn't consider RN as an option. it's not relevant in 2022
Seems like many companies moved to RN. Hope Kotlin will come back with KMM in future with support of 🍏.
Hey Philipp, does jetpack compose lazy column support data from sql delight?
Sure 😅
Awesome!
I was using xcode14.0.1 and macos Monterey; when I run kdoctor, I get the message: * Xcode requires to perform the First Launch tasks
Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal
However, I have launched the xcode and ran the startup app; I still get the same message; i can. not find xcodebuuild on my mac ...
Try this:
• open Xcode
• Preferenes -> Locations -> Command Line Tools
• select Xcode in dropdown
What bothers me the most is that you need an Apple PC to be able to develop for apple. Seriously Apple: why do you think a monopoly is okay when you do it?
i think initial reason was to save some cash. their crappy ide works only in their environment and they decided implementing cross-platform version from scratch would be expensive and technically complicated. then they converted this fail into marketing feature.
@@deviantstudio no, it's because they are greedy, and want you to buy their computers.
It's because people consume Apple shit with huge enthusiasm and say that this shit is extremely tasty.
It annoys me too.. at least they should let devs install a paid version of macos
There are tons of cloud services which provide compiling and creating iOS artifacts for Apple.
XCode 15 review does not have UIKit so, cocopods is old .... not sure if this is a good idea for the future.
We build with Swift / SwiftUI / Swift structured concurrency / Swift package manager and know our iOS app will always be supported ...
Flutter is a better choice
for now
What about job market for these implementation? Do you have any idea?
Thanks for great video. I have been using windows for java development. For using android studio with kotlin and intellij IDE, which os (iOS or windows) should I choose for a new computer? Do these IDEs run on iOS as good as on windows? Thanks for advice.
So good video of KMM thanks
I wonder about the target of KMM, I mean nobody wants to write an app twice but needing two IDEs and at the end needing iOS and Android knowledge to build the app doesn't sound really compeling, don't know how it is supposed to gain market share against for example Flutter.
Flutter isn't native, kmm is. You therefore can't fully compare them
@@PhilippLackner I know, but if you prioritize quality or have the resources I would stick with native iOS and Android, won't even use KMM, if I must prioritize resources then I won't go with KMM, I would go with Flutter.
in case of flutter you have to force your devs learn all the stuff from scratch. new framework, new libs, new (and crappy) language. also interop with native is a nightmare.
while choosing kmm you continue to do mostly the same things. except business logic now shared and written in kotlin (which is a win itself). and coroutines! also data models layer could be shared with backend. also you can use jetpack compose which will be ported to ios in near 2 years, and already works fine on desktops.
KMM and compose multiplatform is the future!
future of garbage maybe
❤️❤️🔥
Is there a similar tool to Brew/Homebrew for the Windows OS?
Wait! Does this mean, you can code swift in android studio????????
Hi Phillip, Can you please make a crash course from scratch about Android development through kotlin
Hey Philipp, i am new with Kotlin i was wondered if its possible build a full functional app using only kotlin programming language...if possible as kotlin multiplatform mobile application...thanks
So Cool
Yep all nice and good and thank you for the video, but in terms of cross platform anything beyond Hello World and or getting stuff from the web and displaying it on screen, any hardware integration like Bluetooth will quickly transform these cross platform projects into a huge pain. Native all the way.
KMM is pretty much native but you need less code to write it. You have 2 separate code bases for native specific things that don't affect each
I got this error when running kdoctor: Xcode requires to perform the First Launch tasks. I am not sure why though and I have accepted all licenses for xcode.
for me kdoctor on my mac don't see plugins. It tell me that everything is ok but i don't have kmm plugin installed
plz make video on sync adapter with roomdatabase
Hey general question here, what is the best way to go about testing my iOS app if im on windows 10
I have an Android project with library written in Java. Should I convert the Java libraries to Kotlin before run the project on iOS?
Thank you Philipp but I got this error when I try to run on IOS PhaseScriptExecution failed with a nonzero exit code
Cool!
Is it possible to use KMM in Intellij Ultimate for Windows?
KMM vs Flutter??
In my opinion,
Just like cross platform is not THE solution and people keep choosing to develop Native apps, KMM is a solution for who wants the advantage of cross platform that is shared code while getting native UI, it will be another option.
It's could potentially be the last nail in the Native coffin
I don't have a Macbook I hope I can do this in my windows, any suggestion?
I would like to see one day jetpack compose or swiftui can do web app perfect. Why bother too much between too very different company's native private garden? Most of the big app have their own shared cloud backend, so the ui part is the most cumbersome.
Would it be possible to install Xcode ide if i run a linux vm on a window pc?
You'd need a macos VM
@@PhilippLackner This isn’t legal if used on a Windows device right?
Hi
May I ask how much was apk file size and ipa file also?
Hi Philipp how are you brother how can i develop KMM project on window system
Hello! For Windows (and Android only) you just need to install plugin: Kotlin Multiplatform Mobile, restart Android Studio and create new project (Kotlin Multiplatform App). If you want both (iOS and Android) you will need to install virtual machine (like VMware ) to use XCode.
Is there any way to run compose for IOS UI? Can we make compose widgets work on iOS?
For the time being the frontier ends in view model logic being shared, the rest such as UI can only be done in iOS
compose for ios is under development as I know
@@deviantstudio How do you know this? Inside info?
@@PedroBarbosaRoman i guess i saw some demos from the compose multiplatform repo. check the kotlin slack for more info
Hallo Philipp konntest du mir bitte antworten, damit KMM app machen die laptop muss MacBook Sein? weil, wir sind benutzen Ios auch , sondern Ios geht nicht mit windows systesm. Konntest du antworten damit, herzlichen Danke dir zu vor
If I have an android app already built with Compose, does it make sense to use KMM to create the ios version?
Sure
Thank you so much
I have a M1 mac mini 2020. No matter what i do, can`t install cocoapods-generate, always "cocoapods-generate plugin not found". tried to "sudo gem install cocoapods-generate" and nothing.
I know its a bit old but 'brew install cocoapods' in your terminal got me thought this portion :) hope this helps someone!
Hello, i have had problems to install cocoapods. The solution was: not to install by 'gem install ...', instead do 'brew install cocoapods'
is it possible to use flutter for UI layer and KMM for data layer?
No, its kotlin exclusive
is there a way to use firebase realtime database in KMM?
Using Java to make iOS apps seems like it would really ease development
Which platform is best to coding kotlin
good joob
There is hope for Kotlin against Dart and Flutter multi platform.
So far I like more Flutter, I wish we had Kotlin instead of Dart :c
can I do KMM project in android studio and give it a run in an ios device ? Will it work ?
Finally!!!!