Skip to content

Build fails on non-macOS systems due to hardcoded PlistBuddy dependency #9

@aalrehn

Description

@aalrehn

The KmpWorkManagerConfigTask fails on Linux and Windows systems because it unconditionally attempts to execute /usr/libexec/PlistBuddy, which is a macOS-only utility. This prevents the android apps from executing on non-mac machines.

Error :

> A problem occurred starting process 'command '/usr/libexec/PlistBuddy''

I believe this happens from this :

    @get:Input
    @get:Option(option = "iosAppInfoPlistPath", description = "Path to iOS App's Info.plist file")
    abstract val iosAppInfoPlistPath: Property<String>

 const val PLIST_BUDDY_PATH = "/usr/libexec/PlistBuddy"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions