Soumen pal
08/21/2025, 9:39 AMwiktor
08/21/2025, 1:11 PMAhmet Bozkan
08/21/2025, 9:45 PMAjay Venugopal
08/21/2025, 10:38 PMcommonMain.dependencies {
implementation(files("libs/shared-debug.aar"))
}
Thanks in advanceSai Charan
08/22/2025, 3:01 AMMeet
08/22/2025, 4:17 AMAngel Solis
08/22/2025, 5:39 AMAndroid Studio Narwhal Feature Drop | 2025.1.2 Patch 1
Is there something that I'm missing?Abu Sufyan
08/22/2025, 6:58 AMptsiogas
08/22/2025, 2:07 PMDeep Patel
08/24/2025, 7:27 AMFinn Ebeling
08/24/2025, 9:02 AMTlaster
08/25/2025, 3:29 AMcom.android.kotlin.multiplatform.library
does not support custom group in applyDefaultHierarchyTemplate
? more in thread.Slackbot
08/25/2025, 10:44 AMinickqc
08/25/2025, 12:13 PMwisha khn
08/25/2025, 1:50 PMAman Shaikh
08/25/2025, 7:08 PMAbdo
08/26/2025, 12:49 PMJoniAranguri
08/26/2025, 2:50 PMAbubakkar
08/26/2025, 3:11 PMkrkoo3
08/26/2025, 5:07 PMkrkoo3
08/26/2025, 5:26 PMAbhishek Agarwal
08/26/2025, 6:41 PMNSBundle
to read custom keys like BASE_URL
and IS_DEBUG
from Info.plist
, which works fine when I build with Xcode. However, when I run the same code via Android Studio, those keys return null.
//iosMain inside actual class
private fun getBaseUrlFromBundle(): String {
val bundle = NSBundle.Companion.mainBundle
val baseUrl = bundle.objectForInfoDictionaryKey("BASE_URL") as? String
return baseUrl ?: ""
}
private fun getEnvironmentFromBundle(): Environment {
val bundle = NSBundle.Companion.mainBundle
val isDebug = bundle.objectForInfoDictionaryKey("IS_DEBUG") as? String
return if (isDebug?.lowercase() == "true") Environment.STAGE else Environment.PROD
}
박상혁
08/27/2025, 2:20 AMVaibhav Jaiswal
08/27/2025, 6:40 AMkatokay
08/27/2025, 2:23 PMError: Exception in thread "main" java.lang.IllegalStateException: Unresolved classifier: platform/WatchConnectivity/WCSession
for which I've played whack-a-mole on countless ways to resolve the issue. For context, it uses swiftklib plugin to help with the HealthKit specific dependencies. I've even gone so far as replacing that plugin with compiling the code myself in the gradle file with customized def files to ensure depends in the def file brings in the missing dependencies, none of which has had any success. I feel like I'm missing something simple that's different between my local environment and the build server but for the life of me can't figure out what it is. Any help would be greatly appreciated.
The project:
https://github.com/crowded-libs/vitalityDylan Bettermann
08/27/2025, 3:11 PMSlackbot
08/28/2025, 4:23 AMMats-Hjalmar
08/28/2025, 6:44 AMSebastian Schuberth
08/28/2025, 10:29 AMjava.*
imports are present, or in general if Gradle / Maven dependencies on JVM-only artifacts are used.Alexis
08/28/2025, 10:44 AM* What went wrong:
A problem was found with the configuration of task ':umbrella:syncFramework' (type 'FrameworkCopy').
- Type 'org.jetbrains.kotlin.gradle.plugin.mpp.apple.FrameworkCopy' property 'sourceFramework' specifies directory 'REPO_DIRECTORY/umbrella/build/bin/iosSimulatorArm64/podDebugFramework/LegendrShared.framework' which doesn't exist.
In my build.gradle.kts I have the following cocoapod block:
iosX64()
iosArm64()
iosSimulatorArm64()
val xcfName = "LegendrShared"
cocoapods {
version = "1.0"
summary = "Legendr iOS umbrella framewok"
homepage = "<https://www.legendr.app/>"
name = xcfName
ios.deploymentTarget = "15.6"
framework {
baseName = xcfName
export(projects.shared.data)
export(projects.shared.di)
export(projects.shared.domain)
export(projects.shared.presentation)
transitiveExport = true
isStatic = false
}
podfile = project.file("../iosLegendrApp/Podfile")
// Maps custom Xcode configuration to NativeBuildType
xcodeConfigurationToNativeBuildType["CUSTOM_DEBUG"] = NativeBuildType.DEBUG
xcodeConfigurationToNativeBuildType["CUSTOM_RELEASE"] = NativeBuildType.RELEASE
}
and in my ios app I have the following Podfile:
platform :ios, '15.6'
target 'iosLegendrApp' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'LegendrShared', :path => '../umbrella'
end
target 'Presentation' do
use_frameworks!
pod 'LegendrShared', :path => '../umbrella'
end
target 'Home' do
use_frameworks!
pod 'LegendrShared', :path => '../umbrella'
end
target 'DI' do
use_frameworks!
pod 'LegendrShared', :path => '../umbrella'
end
I'm not sure what am I missing. Also I'm using touchlab's skie plugin if this could be related?
I can share more about my configuration if necessary 🙂