Getting this warning seemingly when building. Am I...
# ios
c
Getting this warning seemingly when building. Am I supposed to set some sort of bundle ID in the build file?
Copy code
Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
f
it.binaries.framework { binaryOption(“bundleId”, “your bundle name”) }
Your ios shared framework need to have a unique bundle identifier
You can add something like “ios” at the end of your current package name for the identifier
c
i wonder why that doesn't come by default with a project from kmp.jetbrains.com
🔥 1
💯 1
f
Yes, I guess it’s a too small issue
d
Actually it’s a little frustrating when you go to an official documentation page “ Create your Kotlin Multiplatform app ” or Wizard, then you implement the steps, and run the app just to see another exception, it’s not that I did not expect any exception during first run but the entry point in any new technology should be as low as possible, otherwise it doesn’t create a feeling of stability