Skip to content

VariableResolver is unable to resolve custom variables #463

@jbruchanov

Description

@jbruchanov

Having this project template.
https://github.com/JetBrains/compose-multiplatform-template

and there is a setup using xconfig build variables
https://github.com/JetBrains/compose-multiplatform-template/blob/main/iosApp/Configuration/Config.xcconfig

Looks like the VariableResolver is just simplistic and in my case it has values with

key:'PRODUCT_NAME', value:'${APP_NAME}'

and then it's failing with named capturing group is missing trailing '}' here

https://github.com/openbakery/gradle-xcodePlugin/blob/main/libxcode/src/main/groovy/org/openbakery/util/VariableResolver.groovy#L66

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions