Skip to content
This repository was archived by the owner on May 27, 2020. It is now read-only.

Gradle task not found #18

@galex

Description

@galex

Hello,

When setting up this gradle plugin in the new kotlin-multiplatform gradle plugin and building the workspace in xcode I've got the following error:

$PODS_TARGET_SRCROOT/./gradlew  -p "$PODS_TARGET_SRCROOT" "createIos${CONFIGURATION}Artifacts"

> Configure project :
Kotlin Multiplatform Projects are an experimental feature.
This build is set up to publish Kotlin multiplatform libraries with experimental Gradle metadata. Future Gradle versions may fail to resolve dependencies on these publications. You can disable Gradle metadata usage during publishing and dependencies resolution by removing `enableFeaturePreview('GRADLE_METADATA')` from the settings.gradle file.

FAILURE: Build failed with an exception.

* What went wrong:
Task 'createIosDebugArtifacts' not found in root project 'analytics-core'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
Command PhaseScriptExecution failed with a nonzero exit code

The task createIosDebugArtifacts does not exist in that project but linkMainDebugFrameworkIos and linkMainReleaseFrameworkIos do exist and are the closed tasks I can find which build a .framework folder.

Thank you in advance,
Alex

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