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

Cannot configure the framework #12

Open
sebleclerc opened this issue Jul 5, 2020 · 2 comments
Open

Cannot configure the framework #12

sebleclerc opened this issue Jul 5, 2020 · 2 comments
Labels
TODO Tasks the Touchlab team intends to prioritize

Comments

@sebleclerc
Copy link

I did setup the cocoapodsext plugin correctly but I can't seem to configure the iOS framework correctly.

cocoapodsext {
        summary = "Common shared project"
        homepage = "https://github.com/sebleclerc"
        framework {
            isStatic = false
            embedBitcode = 'ENABLE'
        }
    }

I get this error: Could not set unknown property 'isStatic' for object of type co.touchlab.kotlin.gradle.plugin.cocoapods.CocoapodsExtension. Same for the embedBitcode.

Anything I am missing? Is this something that should be possible?

Thanks!

@JakeWharton
Copy link
Contributor

Everything inside framework should be prefixed with it.. The framework method uses an Action<Framework> which does not automatically get the Groovy receiver magic. You can also do framework { f -> f.stuff() } if you like.

@russhwolf russhwolf added the TODO Tasks the Touchlab team intends to prioritize label Feb 25, 2021
@russhwolf
Copy link
Contributor

Marking as TODO to adjust this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
TODO Tasks the Touchlab team intends to prioritize
Projects
None yet
Development

No branches or pull requests

3 participants