Raphael TEYSSANDIER
04/29/2023, 10:51 AMKMP
module to a compose multiplatform project ? Desktop / Android works, but iOS fail when I add it.
The following build commands failed:
PhaseScriptExecution [CP-User]\ Build\ shared /Users/xxxx/Documents/Projects/porject-xxx/build/ios/Pods.build/Debug-iphonesimulator/shared.build/Script-BEA8885189D408D600647BDC228A6A20.sh (in target 'shared' from project 'Pods')
(1 failure)
EDIT: After adding
cocoapods {
...
framework {
baseName = "shared"
isStatic = true
export(project(":xxx:xxx"))
transitiveExport = false // This is default.
// Bitcode embedding
embedBitcode(org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode.BITCODE)
}
...
}
I got another error
error: Could not find "My" in [/Users/xxxx/Documents/Projects/xxx-xxx-xx/iosApp/Pods, /Users/xxx/.konan/klib, /Users/xxx/.konan/kotlin-native-prebuilt-macos-aarch64-1.8.20/klib/common, /Users/xxx/.konan/kotlin-native-prebuilt-macos-aarch64-1.8.20/klib/platform/ios_simulator_arm64]
Dima Avdeev
04/29/2023, 2:41 PMRaphael TEYSSANDIER
04/29/2023, 2:49 PMDima Avdeev
04/29/2023, 2:52 PMRaphael TEYSSANDIER
04/29/2023, 3:08 PMcocoapods
conf problem ? I have checked, I have the same target between both moduleDima Avdeev
04/29/2023, 3:11 PMRaphael TEYSSANDIER
04/29/2023, 3:12 PMDima Avdeev
05/03/2023, 5:28 AMRaphael TEYSSANDIER
05/03/2023, 7:02 AMisStatus = true
, do not compile. But with api
instead of implementation
it works. Thank’s !Dima Avdeev
05/03/2023, 7:51 AMDo I enter an issue on youtrack ?You don't need to create additional issues for now, we already have it.
Raphael TEYSSANDIER
05/03/2023, 9:54 AM