gpaligot
04/17/2023, 12:30 PMPavel S
04/17/2023, 4:05 PM./gradlew build
, ./gradlew test
) the build fails with
Expected class *class name* has no actual declaration in module *module name* for JVM```
and
Expected class *class name* has no actual declaration in module *module name* for Native
, ```
although all the actual classes are declared in all the sourcesets. I’ve found this issue which seems to be not fixed, and this can be suppressed with @Suppress("NO_ACTUAL_FOR_EXPECT")
but it’s impossible for the generated classes. Also, it seems that in most popular opensource projects this issue doesn’t occurRaghav
04/17/2023, 4:31 PMTask sharedembedAndSignAppleFrameworkForXcode FAILEDcp: /Users/raghav/AndroidStudioProjects/Jetstar/shared/build/xcode-frameworks/Debug/iphonesimulator16.4/shared.framework: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code
Raghav
04/17/2023, 4:33 PMspierce7
04/17/2023, 6:02 PMMarcelo
04/17/2023, 8:19 PMCompose MultiPlatform + KMM
modularized ? My Scenario : I’ve a native Android app and I would like to migrate this project 100% to Multiplatform , to run this app in Android and iOS, but I want to do this in fases. So, in this migration I would like to import in Native Android Project (Legacy) a part of this migrated multiplatform project until have 100% this project migrated.spierce7
04/18/2023, 12:54 AMVariable 'commonMain' is never used
It comes from the unused sourcesets we have all over the place, which I think it's the common convention, is it not?:
sourceSets {
val commonMain by getting {
dependencies {
}
}
val jvmMain by getting {
dependencies {
}
}
val jvmTest by getting {
dependencies {
}
}
}
Jerry
04/18/2023, 10:39 AM> Task :shared:linkReleaseFrameworkIosArm64 FAILED
error: Read-only file system
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil invocation reported errors
when I run the build command in terminal everything builds fine, but if I run the same command as a (pre)build plugin for my swift package, I get this 😕
Would it be a sandboxing issue or something like that?Andrey
04/18/2023, 10:52 AMHello, I'm asking for help.
Created issues about thread deadlock, can anyone test this on their devices and confirm the problem.
Apk by link, virustotal attached. TY
https://youtrack.jetbrains.com/issue/KT-57896/When-an-exception-is-created-a-deadlockEmil Kantis
04/18/2023, 5:53 PMmontanajava
04/19/2023, 4:24 AMAleksei Panov
04/19/2023, 6:31 AMken_kentan
04/19/2023, 10:59 AMNativeCoroutinesState
in KMP-NativeCoroutines library.
But even when I update a StateFlow, it won’t trigger re rendering in SwiftUI side…
Does anyone can help about it?Pamela Hill
04/19/2023, 11:39 AMPriyanshu Jain
04/19/2023, 12:29 PMFailed to resolve: org.jetbrains.kotlin:kotlin-test:1.7.20
The kotlin version is 1.7.20 and the AGP version is 7.3.1
Because of this, I am unable to run any test cases present inside the commonTest module.
Do the versions have to be specified explicitly?John O'Reilly
04/19/2023, 4:22 PMcocoapods
after updating to AGP 8.0 (along with Gradle 8.x)?
Consumable configurations with identical capabilities within a project (other than the default configuration) must have unique attributes, but configuration ':common:podDebugFrameworkIosFat' and [configuration ':common:podDebugFrameworkIOS'] contain identical attribute sets. Consider adding an additional attribute to one of the configurations to disambiguate them. Run the 'outgoingVariants' task for more details. See <https://docs.gradle.org/8.1/userguide/upgrading_version_7.html#unique_attribute_sets> for more details.
xxfast
04/19/2023, 5:34 PM* What went wrong:
A problem was found with the configuration of task ':kstore:signIosArm64Publication' (type 'Sign').
- Gradle detected a problem with the following location: '/Users/runner/work/KStore/KStore/kstore/build/libs/kstore-0.6.0-SNAPSHOT-javadoc.jar.asc'.
Reason: Task ':kstore:publishDesktopPublicationToMavenRepository' uses this output of task ':kstore:signIosArm64Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Has anyone come across this issue? The run can be found herekshvkantg
04/19/2023, 7:33 PMBradleycorn
04/19/2023, 7:54 PMThe names of Kotlin classes and interfaces are prefixed when imported to Objective-C. The prefix is derived from the framework name.Is there a way to customize/override the prefix?
Maxime Vince
04/20/2023, 7:58 AMAvishak Cb
04/20/2023, 8:37 AMHåkon Pettersen
04/20/2023, 9:06 AMKumar
04/20/2023, 9:13 AMKumar
04/20/2023, 9:14 AMAndrew Dunbar
04/20/2023, 10:42 AMStefan de Kraker
04/20/2023, 11:04 AMdata
and domain
that are common. How do I do that?
So that data
implements domain
and in the ui I can implement domain
that way the view does know data
exists.Raghav
04/20/2023, 11:47 AMJhaman das
04/20/2023, 2:53 PMAdeel Malik
04/20/2023, 10:10 PMPat Teruel
04/20/2023, 10:21 PMassembleXCFramework
task which builds the XCFramework for iOS, but I don’t know if there’s a task for AAR only. I think the assemble
builds for both iOS and Android.