Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on copyFrameworkResourcesToApp not found from ios #775

Open
calimero6201 opened this issue Sep 13, 2024 · 3 comments
Open

Error on copyFrameworkResourcesToApp not found from ios #775

calimero6201 opened this issue Sep 13, 2024 · 3 comments

Comments

@calimero6201
Copy link

Hello,

We have migrate from 0.24.0-alpha5 to 0.24.0 and now we have this error from ios side :

Cannot locate tasks that match ':shared:copyFrameworkResourcesToApp' as task 'copyFrameworkResourcesToApp' not found in project 'shared'.

We can't find solution to resolve this issue :(

We use static framework configuration :

listOf(
    iosArm64(),
    iosSimulatorArm64()
).forEach { iosTarget ->
    iosTarget.binaries.framework {
        baseName = "Shared"
        isStatic = true
        binaryOption("bundleId", "Shared")
        export(libs.moko.graphics)
        export(libs.moko.resources)
    }
}

We can't upgrade to version 0.24.0 or 0.24.2 because this error.

Can you helps us please?

Regards,

Stevens
@Alex009
Copy link
Member

Alex009 commented Sep 13, 2024

what you see in gradle logs?

@calimero6201
Copy link
Author

calimero6201 commented Sep 13, 2024

i've this in my logs :

Showing Recent Messages
FAILURE: Build failed with an exception.

  • What went wrong:

Cannot locate tasks that match ':shared:copyFrameworkResourcesToApp' as task 'copyFrameworkResourcesToApp' not found in project ':shared'.

  • Try:

Run gradlew tasks to get a list of available tasks.

For more on name expansion, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.

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 5s

when i put version to 0.24.0-alpah5 it's ok, no error.

Gradlew task has no this task , only this for copy resources :

copyResourcesDebugFrameworkIosArm64
copyResourcesDebugFrameworkIosSimulatorArm64
copyResourcesDebugTestIosArm64
copyResourcesDebugTestIosSimulatorArm64
copyResourcesReleaseFrameworkIosArm64
copyResourcesReleaseFrameworkIosSimulatorArm64

@Alex009
Copy link
Member

Alex009 commented Dec 7, 2024

hi. can you check on 0.24.3 please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants