I'm starting off with compose multiplatform, and n...
# compose-ios
j
I'm starting off with compose multiplatform, and not able to run the project for
iOS
, • first of all run configuration is not there it only has
androidApp
and
desktopApp
no
iosApp
• second I guess, its because of TEAM_ID something, do I have to enroll paid apple-developer program to get the teamId? or how do I run sample project on iPhone simulator
👍 1
k
Are you using a MacBook?
j
Yess
k
You only need to make a paid payment to your developer account when registering an app on the App Store! There’s no need to pay before that.
For the first question, it would be great if you could attach a screenshot!
a
• Did you use one of the templates for creating your project? • Do you have KMM plugin installed?
j
Yes I did use the template, and I do have the KMM plugin also.
from where do I get the TEAM_ID (i have gone through internet but found that need to regsiter for paid apple-developer program) if that's not true, do you have idea where I can get this ID from?
d
You don't need TEAM_ID for launching on simulator. You need it for launching on real iOS device. We have a part in README.md about Team ID: https://github.com/JetBrains/compose-multiplatform-ios-android-template#finding-your-team-id
Can you please provide a screenshot from Android Studio, that KMM plugin is installed and active?
Here is the link to plugin, you need install it to AndroidStudio https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile
thank you color 1
j
got it okay I'm using IntelliJ for compose-mutliplatform development not android studio. My bad and Kotlin Multiplatform Mobile isn't available in IntelliJ I guess. sorry, lemme try to import and build from Android Studio once