Travis Reitter
06/20/2022, 8:55 PMplugin 'com.jetbrains.kmm' failed to initialize and will be disabled. Please restart Android Studio.
java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.kotlin.konan.MetaVersion$Companion.getDEV-CSrMgVE()'
at com.jetbrains.mpp.workspace.WorkspaceBaseKt.<clinit>(WorkspaceBase.kt:31)
at com.jetbrains.mpp.workspace.WorkspaceBase.setKonanVersion(WorkspaceBase.kt:82)
at com.jetbrains.mpp.workspace.WorkspaceBase.setKonanHome(WorkspaceBase.kt:43)
...
any ideas?rkeazor
06/21/2022, 1:46 AMSam
06/21/2022, 10:35 AMcoolcat
06/21/2022, 1:42 PMMarco Righini
06/21/2022, 2:28 PMMatthias Geisler
06/21/2022, 8:14 PMMatthias Geisler
06/21/2022, 8:14 PMAn Tran
06/22/2022, 3:30 AMaar
filecolintheshots
06/22/2022, 6:46 PMShervin
06/22/2022, 8:18 PMshared
module as “api”, how ever I’m not able to access them from Xcode.
I am adding kotlin("multiplatform")
and also:
kotlin {
jvm()
iosX64()
ios()
}
to the target module which I want to have access from Xcode.
I can verify that the shared
module can be imported in Xcode, but not the modules that it depends on.
Any idea what might be the issue?
Thanks in advancedarkmoon_uk
06/23/2022, 5:06 AMandroid(...)
platform entries in the multiplatform
plugin, but have heard this is unsupported or problematic at the moment. Is it recommended to use Androids own flavour/dimensions instead? Does this Android feature play nicely with multiplatform
source folders?andylamax
06/23/2022, 10:09 AMtimkranen
06/23/2022, 1:07 PMsealed class ViewState<T> {
object Loading<T> : ViewState()
class Success<T>(val data: T) : ViewState()
class Failure<T>(val error: Throwable): ViewState()
}
But since sealed classes don’t play nice in iOS, I’m wondering what approach you guys are taking?Michael Paus
06/23/2022, 3:20 PMkrzysztof
06/24/2022, 8:32 AMiPhone 12
in my simulator list and iosX64Test
task fails with
Invalid device: iPhone 12
java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148)
Mendess
06/24/2022, 10:18 AMIgal Avraham
06/24/2022, 12:10 PMIgal Avraham
06/24/2022, 12:12 PMUmberto Pompei
06/24/2022, 3:32 PMLandry Norris
06/24/2022, 9:30 PMBrian Estrada
06/25/2022, 2:27 PMMatti MK
06/27/2022, 7:30 AMPropertyListEncoder
https://developer.apple.com/documentation/foundation/propertylistencoder in my shared module, in the iosApp
sourceset.
It appears that it’s not included, or at least I cannot import it. Should it be available?Michal Klimczak
06/27/2022, 12:33 PMproject.extensions.getByType<KotlinMultiplatformExtension>().sourceSets
.matching {
it.name.contains("ios")
|| it.name.contains("macos")
|| it.name.contains("watchos")
|| it.name.contains("tvos")
}.configureEach { ...
Mendess
06/27/2022, 1:25 PM-android
suffix and this ruins the build system. For example I have my-module-core
and my-module-foo
that depends on core, these get published under com.example:my-module-foo-android:1.0.0
. Which would be fine but when I try to pull this artifact in an android app I get this error: Could not find 'com.example:my-module-core:1.0.0'
, this I guess means that my-module-foo-android
is expecting something without the suffixChris NL
06/27/2022, 4:11 PMNicolas Verinaud
06/27/2022, 7:41 PMTask 'embedAndSignAppleFrameworkForXcode' not found in project ':shared'.
. Is there a cache or something on the M1 Mac ? It could be related to the kotlin version used but how can I verify ? Is this task unavailable on M1 Macs ?An Tran
06/28/2022, 2:34 AM./konan
folder as the information from this: https://kotlinlang.org/docs/native-improving-compilation-time.html#general-recommendations. It takes long time for me to build the shared-code, it is about 18 minutes, looks like it creates ./konan
folder everytimehealthsgood
06/28/2022, 3:33 AMJeff Lockhart
06/28/2022, 4:56 AMorg.json
(JSONObject
, JSONArray
, etc.)? I'm looking to adapt some test code which traverses these JSON primitive types.smallufo
06/28/2022, 4:58 AMLocale
class ?smallufo
06/28/2022, 4:58 AMLocale
class ?