Farid Benhaimoud
08/06/2023, 1:33 PMcocoapods {
....
// this is important part
extraSpecAttributes["resources"] =
"['src/commonMain/resources/**', 'src/iosMain/resources/**']"
// if you don't have anything inside iosMain/resources than you can have:
// extraSpecAttributes["resources"] = "['src/commonMain/resources/**']"
// I left it in just as a reminder that it's possible and how to do it
}
But I am using regular framework. and it does not recognize extraSpecAttributes in this block. Any body can help me out?
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "Shared"
isStatic = true
extraSpecAttributes["resources"] = "['src/commonMain/resources/**']"
}
}
Thnx in advance.Dima Avdeev
08/08/2023, 6:17 AMextraSpecAttributes["resources"]
will be deprecated in version Compose 1.5.0-beta01
So, you can remove it no dependent to Moko librarieDima Avdeev
08/08/2023, 6:17 AMandrew
08/08/2023, 8:32 PMDima Avdeev
08/10/2023, 5:27 AMandrew
08/15/2023, 8:26 PM