Marko Novakovic
08/27/2022, 9:16 AMshared
module or I just move my Android side Jetpack Compose code to shared
module and go full Compose Multiplatform?
my state classes are inside shared
module and I can create 1:1 copy of those inside my Android module but I would rather do one of two I proposeddeviant
08/29/2022, 5:44 AMJakub Sieprawski
08/29/2022, 7:28 AMGillian Buijs
08/29/2022, 12:49 PMcrumpf
08/29/2022, 2:50 PMimport org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework
) to generate xcframeworks for iOS following the documentation. However, it looks like it only assigns the metadata in the xcframework's info.plist for the bundle's name. Is there an automated way to be able to assign other metadata values in the plist like CFBundleVersion
and MinimumOSVersion
?eygraber
08/30/2022, 7:01 PMdependsOn(appleMain)
necessary?
with(sourceSets) {
val appleMain = create("appleMain") {
dependsOn(getByName("commonMain"))
}
create("appleTest") {
dependsOn(appleMain)
dependsOn(getByName("commonTest"))
}
}
humblehacker
08/31/2022, 12:58 AMxxfast
08/31/2022, 1:50 PMAlper Tekin
08/31/2022, 8:08 PMjeran
08/31/2022, 10:49 PMPaul Woitaschek
09/01/2022, 7:51 AMDzmitry Petrushenka
09/01/2022, 9:59 AM> Task :shared:embedAndSignAppleFrameworkForXcode FAILED
error: One or more parameters passed to a function were not valid.
Any idea what it can be?Dzmitry Petrushenka
09/01/2022, 10:00 AMDzmitry Petrushenka
09/01/2022, 11:06 AMNon-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file "PlugIns" couldn't be opened because there is no such file." UserInfo={NSURL=PlugIns/ -- file:///Users/dzmitry/Library/Developer/Xcode/DerivedData/iosApp-dbufieajloitrxfucbgqqibzrzie/Build/Products/Debug-iphoneos/iosApp.app/, NSFilePath=/Users/dzmitry/Library/Developer/Xcode/DerivedData/iosApp-dbufieajloitrxfucbgqqibzrzie/Build/Products/Debug-iphoneos/iosApp.app/PlugIns, NSUnderlyingError=0x7ff4a1abaec0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Dzmitry Petrushenka
09/01/2022, 11:07 AMDzmitry Petrushenka
09/01/2022, 11:07 AMPaul Woitaschek
09/01/2022, 3:41 PMSachinda Liyanaarachchi
09/01/2022, 5:09 PMjacksonfdam
09/02/2022, 7:31 AMdiego-gomez-olvera
09/02/2022, 2:10 PMPeter Hsu
09/02/2022, 5:05 PMmodule A/androidMain
has dependencies on module B/commonMain
. AS has no problems with module B/androidMain
depending on module B/commonMain
mattinger
09/03/2022, 2:06 AMBig Chungus
09/03/2022, 2:43 PMadjpd
09/04/2022, 11:33 AMeygraber
09/05/2022, 8:21 PMBohdan
09/05/2022, 8:22 PMPHondogo
09/06/2022, 8:17 PMxxfast
09/07/2022, 3:47 AMiosArm64()
targetxxfast
09/07/2022, 4:13 AMjava.lang.IllegalStateException: IrPropertyPublicSymbolImpl for io.github.xxfast.utils/FILE_SYSTEM|225970167697663469[0] is already bound: PROPERTY name:FILE_SYSTEM visibility:public modality:FINAL [val]
my build script is setup as
kotlin {
val hostOs = System.getProperty("os.name")
val isMingwX64 = hostOs.startsWith("Windows")
val nativeTarget = when {
hostOs == "Mac OS X" -> macosX64("native")
hostOs == "Linux" -> linuxX64("native")
isMingwX64 -> mingwX64("native")
else -> throw GradleException("Host OS is not supported in Kotlin/Native.")
}
sourceSets {
val nativeMain by getting { .. }
val nativeTest by getting {
dependsOn(nativeMain)
}
}
}
and have my implementation as
// commonMain
expect val FILE_SYSTEM: FileSystem
// nativeMain
actual val FILE_SYSTEM: FileSystem = FileSystem.SYSTEM
Am I doing something wrong here? 🤔 jvm target is able to build and run fineclark
09/07/2022, 4:44 AMclark
09/07/2022, 4:44 AMxxfast
09/07/2022, 5:47 AMtypealias LoginDomain = au.com.gridstone.pscore.login.screens.LoginDomain
shaktiman_droid
09/07/2022, 1:35 PMexport const getAbcSDK = () => sdk.com.xyz.abcSDK
clark
09/07/2022, 3:48 PM