Skip to content

Info.plist not found / not resolved #6

@gitwalex

Description

@gitwalex

Hi,
I try to implement the library and get the following error when compiling:

“Plist file does not exists at path ../iosApp/iosApp/Info.plist”

My build.gradle is in ..composeApp/build.gradle.kts and contains:

kmpworkmanager {
jobIdentifiers = setOf("JOB")
iosAppInfoPlistPath = "../iosApp/iosApp/Info.plist"
packageName = "my.package.name"
sourceSetDirectory = project.file("src/commonMain/kotlin")
// className = "BackgroundJobIdentifiers"
}

The build-output is:

Task :composeApp:prepareKmpWorkManagerConfig FAILED
KMPWorkManager job identifiers are: [JOB]
KMPWorkManager ios plist path: ../iosApp/iosApp/Info.plist
KMPWorkManager package name: my.package.name
KMPWorkManager class name: BackgroundJobIdentifiers
KMPWorkManager source set dir: <Path_to_my_Source\composeApp\src\commonMain\kotlin

This is my project-structure:

Image

I also tried the full-qualified path to my Info.plist, then the error is:
CreateProcess error=2, The system cannot find the specified file

Maybe it's because I develop on Windows (I'm responsible for the Android branch of the app)?

Do you have any hint?

Greetings
Alexander

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