anyone know how to add pod compile option in KMM ...
# multiplatform
j
anyone know how to add pod compile option in KMM I want to add below pod_target_xcconfig in my build.gradle.kts file cocoapods block,but I don't know how to add s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
k
Documentation: https://kotlinlang.org/docs/native-cocoapods-dsl-reference.html#cocoapods-block
Copy code
cocoapods {
        extraSpecAttributes["pod_target_xcconfig"] = """{
            'KOTLIN_PROJECT_PATH' => ':shared',
            'PRODUCT_MODULE_NAME' => 'shared',
            'GCC_PREPROCESSOR_DEFINITIONS' => 'GPB_USE_PROTOBUF_FRAMEWORK=1'
        }""".trimIndent()
    }
­čžÉ
j
thanks