Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Could not set unknown property 'isStatic' for object of type co.touchlab.kotlin.gradle.plugin.cocoapods.CocoapodsExtension #27

Open
mikezliu opened this issue Mar 22, 2021 · 1 comment

Comments

@mikezliu
Copy link

When I try this (which should work per the examples):

cocoapodsext {
    summary = "Kotlin Native Shared Project"
    homepage = "..."
    authors = "..."
    license = "License"
    isStatic = false
}

I'm getting an error:

Could not set unknown property 'isStatic' for object of type co.touchlab.kotlin.gradle.plugin.cocoapods.CocoapodsExtension.

@sergiocasero
Copy link

The error is inside the docs, you need to specify it inside framework:

cocoapodsext {
        framework {
            isStatic = false
        }
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants