juh juh
08/18/2022, 9:13 AM-Xno-param-assertions argument
to my release builds to remove runtime null assertions for all the argumentsCiaran Sloan
08/18/2022, 12:45 PMA
which contains a myFunction()
function in the commonTest
• Module B
is dependent on module A
but I do not have access to myFunction()
in module Bs commonTest
. It is not available for import.
Module B
however does have access to module `A`s classes and functions within commonMain
but the issue seems to be in the commonTest
only. Is this expected? Or how can I ensure that each module that implements module A
also gets access to its public classes and functions within commonTest
?Sean Proctor
08/18/2022, 1:22 PMadjpd
08/18/2022, 5:34 PMjuh juh
08/18/2022, 7:33 PMjuh juh
08/18/2022, 8:01 PMResources
folder on Kotlin/Multiplatform? Is there a built-in solution, or do I need to use external library?Raymond Zeng
08/19/2022, 12:45 AMSebastian Sellmair [JB]
08/19/2022, 1:20 PMkenkyee
08/19/2022, 1:21 PMSachinda Liyanaarachchi
08/19/2022, 6:05 PMJeff Lockhart
08/20/2022, 3:23 PM@Suppress("UNINITIALIZED_VARIABLE")
above the line to hide the IDE error. It's not uncommon that the IDE displays false positive errors that aren't actually compilation errors with KMP.Pedro Henrique
08/20/2022, 11:48 PMSmorg
08/21/2022, 1:37 AMjavax.inject
lib to a multiplatform module in my project but couldn’t import the classes/annotations in my source, and I am trying to understand why. Any pointers would be appreciated. Thanks.Smorg
08/21/2022, 1:44 AMMarco Righini
08/21/2022, 11:08 AMTim Ortel
08/21/2022, 7:49 PMNoop
08/22/2022, 8:28 AMBuild was configured to prefer settings repositories over project repositories but repository 'ivy' was added by build file 'shared/build.gradle.kts'
Ben Edwards
08/22/2022, 10:24 AMBen Edwards
08/23/2022, 11:10 AMKwabena Berko
08/23/2022, 5:09 PMtasks.register("copySomething", Copy::class) {
println("How Do I Run This Task After Build Completes?")
}
jacksonfdam
08/24/2022, 10:22 AMSebastian Sellmair [JB]
08/24/2022, 11:14 AMDon.Robertson
08/24/2022, 10:56 PMAsad Mukhtar
08/25/2022, 6:56 AMSreeramktm 27
08/25/2022, 7:40 AMFrancis Mariano
08/25/2022, 7:25 PMCiaran Sloan
08/26/2022, 10:18 AMdeinit
function on classes that are extended from a kotlin class? I'm having a weird crash with little info in the stack trace. I've created an open class in my shared module and extending that class in Swift. I want to perform some operation in the deinit
function (a cleanup of sorts), but im getting a crash when trying to access a protected property of the base class from the deinit function. I'm suspecting that possibly this object no longer exists? But I can't get enough information from the stacktrace to determine thisVitor Hugo Schwaab
08/26/2022, 7:54 PMAndroidAppProject
-app
-appModuleA
-appModuleB
-multiPlatformProject
|-multiPlatformModuleA
|-multiPlatformModuleB
multiPlatformProject and its contents are included via includeBuild
.
Stuck on Kotlin 1.6.10 because of this.
I came across this super creative work-around to trick the IDE into thinking we're using 1.6.10 in order to keep it working, but it didn't do the trick for me.
Anyone else working around this issue?fathony
08/27/2022, 5:06 AMcallbackFlow {}
in Kotlin. For example:
// Kotlin common
interface Repository {
fun location(): Flow<LatLng>
}
// Kotlin android
class AndroidRepository : Repository {
override fun location(): Flow<LatLng> =
callbackFlow {
// some implementation
}
}
How should I implements those on swift?
// Swift iOS
class IosRepository : Repository {
func location() -> // how to?
}
I'm already looking at the topics but unable to find anything that solves above issue. Am I missing something here?miqbaldc
08/27/2022, 7:16 AM[v] System
OS: macOS (11.6)
CPU: Apple M1
[v] Java
Java (openjdk version "11.0.14" 2022-01-18 LTS)
Location: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
* Note that, by default, Android Studio uses bundled JDK for Gradle tasks execution.
Gradle JDK can be configured in Android Studio Preferences under Build, Execution, Deployment -> Build Tools -> Gradle section
[v] Android Studio
Android Studio (2021.2)
Location: /Applications/Android <http://Studio.app|Studio.app>
Bundled Java: openjdk 11.0.12 2021-07-20
Kotlin Plugin: 212-1.7.10-release-333-AS5457.46
Kotlin Multiplatform Mobile Plugin: 0.3.3(212-1.7.0-RC-release-217-IJ)-104
[v] Xcode
Xcode (13.2.1)
Location: /Applications/Xcode.app
[v] Cocoapods
ruby (ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin20])
ruby gems (3.3.11)
cocoapods (1.11.3)
cocoapods-generate (2.2.2)
Your system is ready for Kotlin Multiplatform Mobile Development!
miqbaldc
08/27/2022, 7:16 AM[v] System
OS: macOS (11.6)
CPU: Apple M1
[v] Java
Java (openjdk version "11.0.14" 2022-01-18 LTS)
Location: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/java
JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
* Note that, by default, Android Studio uses bundled JDK for Gradle tasks execution.
Gradle JDK can be configured in Android Studio Preferences under Build, Execution, Deployment -> Build Tools -> Gradle section
[v] Android Studio
Android Studio (2021.2)
Location: /Applications/Android <http://Studio.app|Studio.app>
Bundled Java: openjdk 11.0.12 2021-07-20
Kotlin Plugin: 212-1.7.10-release-333-AS5457.46
Kotlin Multiplatform Mobile Plugin: 0.3.3(212-1.7.0-RC-release-217-IJ)-104
[v] Xcode
Xcode (13.2.1)
Location: /Applications/Xcode.app
[v] Cocoapods
ruby (ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin20])
ruby gems (3.3.11)
cocoapods (1.11.3)
cocoapods-generate (2.2.2)
Your system is ready for Kotlin Multiplatform Mobile Development!
Aditya Kurkure
08/28/2022, 8:11 AMmiqbaldc
08/28/2022, 12:27 PMembedAndSignAppleFrameworkXcode
Meherdatta Chepuri
03/09/2023, 11:57 PMmiqbaldc
03/10/2023, 2:43 AM