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

copyPodFrameworkResourcesToApp not copy anything into app #762

Closed
Alex009 opened this issue Sep 6, 2024 · 2 comments · Fixed by #765
Closed

copyPodFrameworkResourcesToApp not copy anything into app #762

Alex009 opened this issue Sep 6, 2024 · 2 comments · Fixed by #765
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Alex009
Copy link
Member

Alex009 commented Sep 6, 2024

build phase configured correctly:

"$SRCROOT/../gradlew" -p "$SRCROOT/../" :mpp-library:copyPodFrameworkResourcesToApp \
    -Pmoko.resources.BUILT_PRODUCTS_DIR="$BUILT_PRODUCTS_DIR" \
    -Pmoko.resources.CONTENTS_FOLDER_PATH="$CONTENTS_FOLDER_PATH" \
    -Pkotlin.native.cocoapods.platform="$PLATFORM_NAME" \
    -Pkotlin.native.cocoapods.archs="$ARCHS" \
    -Pkotlin.native.cocoapods.configuration="$CONFIGURATION" 

but when script runs i see that no actions to copy resources runned:


Showing All Messages
Calculating task graph as configuration cache cannot be reused because file 'mpp-library/build.gradle.kts' has changed.

Type-safe project accessors is an incubating feature.

> Task :build-logic:checkKotlinGradlePluginConfigurationErrors

> Task :build-logic:generateExternalPluginSpecBuilders UP-TO-DATE

> Task :build-logic:extractPrecompiledScriptPluginPlugins UP-TO-DATE

> Task :build-logic:compilePluginsBlocks UP-TO-DATE

> Task :build-logic:generatePrecompiledScriptPluginAccessors UP-TO-DATE

> Task :build-logic:generateScriptPluginAdapters UP-TO-DATE

> Task :build-logic:compileKotlin UP-TO-DATE

> Task :build-logic:compileJava NO-SOURCE

> Task :build-logic:pluginDescriptors UP-TO-DATE

> Task :build-logic:processResources UP-TO-DATE

> Task :build-logic:classes UP-TO-DATE

> Task :build-logic:jar UP-TO-DATE



> Configure project :android-app

used debug signing for release build!



> Configure project :mpp-library

linkPodDebugFrameworkIosArm64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

linkPodReleaseFrameworkIosArm64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

linkPodDebugFrameworkIosSimulatorArm64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

linkPodReleaseFrameworkIosSimulatorArm64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

linkPodDebugFrameworkIosX64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

linkPodReleaseFrameworkIosX64 is found.

If you use a static framework, Xcode should have Build Phase with copyPodFrameworkResourcesToApp gradle task call. 

Please read readme on https://github.com/icerockdev/moko-resources

-

To hide this message, add 'moko.resources.disableStaticFrameworkWarning=true' to the Gradle properties.

                

w: Dependency on 'MCRCDynamicProxy' with option 'linkOnly=true' is unused for building static frameworks.

When using static linkage you will need to provide all dependencies for linking the framework into a final application.





> Task :mpp-library:copyPodFrameworkResourcesToApp UP-TO-DATE



Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.



You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.



For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.



BUILD SUCCESSFUL in 1s

10 actionable tasks: 1 executed, 9 up-to-date

Configuration cache entry stored.

and no bundle files copied to app.

but if i change script to:

"$SRCROOT/../gradlew" -p "$SRCROOT/../" :mpp-library:copyResourcesPodDebugFrameworkIosSimulatorArm64 \
    -Pmoko.resources.BUILT_PRODUCTS_DIR="$BUILT_PRODUCTS_DIR" \
    -Pmoko.resources.CONTENTS_FOLDER_PATH="$CONTENTS_FOLDER_PATH" \
    -Pkotlin.native.cocoapods.platform="$PLATFORM_NAME" \
    -Pkotlin.native.cocoapods.archs="$ARCHS" \
    -Pkotlin.native.cocoapods.configuration="$CONFIGURATION" 

all will be copied correctly, and log will be:


Showing All Messages
Reusing configuration cache.

> Task :mpp-library:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:serverApiOpenApiGenerate UP-TO-DATE

> Task :mpp-library:openApiGenerate UP-TO-DATE

> Task :navigation:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:generateMRcommonMain UP-TO-DATE

> Task :navigation:generateComposeResClass UP-TO-DATE

> Task :navigation:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:generateComposeResClass UP-TO-DATE

> Task :mpp-library:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:generateDefYandexMapsMobile UP-TO-DATE

> Task :mpp-library:xcodeVersion UP-TO-DATE

> Task :navigation:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:podGenIos UP-TO-DATE

> Task :navigation:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:generateMRappleMain UP-TO-DATE

> Task :mpp-library:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:podInstallSyntheticIos UP-TO-DATE

> Task :navigation:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :navigation:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:podSetupBuildYandexMapsMobileIphonesimulator UP-TO-DATE

> Task :mpp-library:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:generateMRiosMain UP-TO-DATE

> Task :navigation:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :navigation:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :navigation:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :navigation:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:designsystem:generateComposeResClass UP-TO-DATE

> Task :mpp-library:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:podBuildYandexMapsMobileIphonesimulator UP-TO-DATE

> Task :navigation:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :navigation:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:designsystem:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:designsystem:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :navigation:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:designsystem:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:entity:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:resources:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:designsystem:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:utils:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:designsystem:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:resources:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:designsystem:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:designsystem:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:utils:generateComposeResClass UP-TO-DATE

> Task :mpp-library:designsystem:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:resources:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:designsystem:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:designsystem:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:cinteropYandexMapsMobileIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:utils:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:resources:generateMRappleMain UP-TO-DATE

> Task :mpp-library:designsystem:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:designsystem:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:resources:generateMRiosMain UP-TO-DATE

> Task :mpp-library:utils:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:designsystem:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:designsystem:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:utils:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:resources:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:utils:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:utils:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:designsystem:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:utils:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:address:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:designsystem:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:utils:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:utils:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:utils:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:address:generateComposeResClass UP-TO-DATE

> Task :mpp-library:utils:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:utils:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:address:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:utils:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:address:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:utils:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:utils:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:utils:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:address:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:utils:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:address:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:utils:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:utils:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:address:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:address:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:address:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:address:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:utils:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:address:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:address:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:address:generateMRiosMain UP-TO-DATE

> Task :mpp-library:utils:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:address:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:address:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:address:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:auth:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:address:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:auth:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:auth:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:address:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:auth:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:auth:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:address:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:auth:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:address:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:address:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:auth:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:auth:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:cart:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:auth:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:auth:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:auth:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:auth:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:address:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:auth:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:auth:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:auth:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:auth:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:cart:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:auth:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:auth:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:cart:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:cart:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:auth:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:cart:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:cart:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:auth:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:cart:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:cart:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:catalog:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:catalog:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:cart:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:cart:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:auth:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:auth:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:catalog:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:cart:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:cart:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:cart:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:cart:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:catalog:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:cart:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:catalog:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:catalog:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:cart:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:catalog:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:catalog:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:cart:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:cart:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:catalog:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:cart:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:cart:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:catalog:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:cart:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:catalog:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:catalog:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:cart:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:catalog:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:catalog:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:catalog:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:catalog:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:catalog:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:catalog:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:catalog:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:catalog:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:catalog:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:catalog:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:catalog:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:catalog:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:catalog:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:catalog:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:checkout:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:catalog:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:checkout:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:checkout:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:checkout:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:checkout:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:restaurantPicker:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:checkout:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:checkout:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:contacts:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:checkout:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:checkout:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:checkout:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:checkout:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:checkout:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:checkout:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:checkout:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:checkout:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:checkout:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:checkout:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:contacts:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:contacts:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:contacts:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:checkout:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:contacts:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:contacts:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:contacts:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:contacts:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:checkout:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:feature:contacts:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:contacts:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:profile:convertXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:profile:copyNonXmlValueResourcesForAppleMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:profile:prepareComposeResourcesTaskForAppleMain NO-SOURCE

> Task :mpp-library:feature:profile:checkKotlinGradlePluginConfigurationErrors SKIPPED

> Task :mpp-library:feature:profile:convertXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:profile:generateResourceAccessorsForAppleMain NO-SOURCE

> Task :mpp-library:feature:profile:convertXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:profile:generateMRcommonMain UP-TO-DATE

> Task :mpp-library:feature:profile:convertXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:profile:generateComposeResClass UP-TO-DATE

> Task :mpp-library:feature:profile:copyNonXmlValueResourcesForIosMain NO-SOURCE

> Task :mpp-library:feature:contacts:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:contacts:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :mpp-library:feature:profile:convertXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:profile:copyNonXmlValueResourcesForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:profile:copyNonXmlValueResourcesForCommonMain NO-SOURCE

> Task :mpp-library:feature:profile:prepareComposeResourcesTaskForIosMain NO-SOURCE

> Task :mpp-library:feature:profile:generateMRnativeMain UP-TO-DATE

> Task :mpp-library:feature:profile:prepareComposeResourcesTaskForCommonMain NO-SOURCE

> Task :mpp-library:podSetupBuildMCRCDynamicProxyIphonesimulator UP-TO-DATE

> Task :mpp-library:feature:contacts:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:profile:generateResourceAccessorsForCommonMain NO-SOURCE

> Task :mpp-library:feature:profile:generateMRappleMain UP-TO-DATE

> Task :mpp-library:feature:profile:generateResourceAccessorsForIosMain NO-SOURCE

> Task :mpp-library:feature:profile:prepareComposeResourcesTaskForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:profile:copyNonXmlValueResourcesForNativeMain NO-SOURCE

> Task :mpp-library:feature:profile:generateResourceAccessorsForIosSimulatorArm64Main NO-SOURCE

> Task :mpp-library:feature:profile:generateMRiosMain UP-TO-DATE

> Task :mpp-library:feature:profile:prepareComposeResourcesTaskForNativeMain NO-SOURCE

> Task :mpp-library:feature:profile:generateResourceAccessorsForNativeMain NO-SOURCE

> Task :mpp-library:feature:profile:generateMRiosSimulatorArm64Main UP-TO-DATE

> Task :navigation:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:podBuildMCRCDynamicProxyIphonesimulator UP-TO-DATE

> Task :mpp-library:resources:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:utils:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:entity:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:designsystem:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:auth:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:address:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:restaurantPicker:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:contacts:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:cart:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:profile:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:catalog:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:feature:checkout:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:compileKotlinIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:linkPodDebugFrameworkIosSimulatorArm64 UP-TO-DATE

> Task :mpp-library:copyResourcesPodDebugFrameworkIosSimulatorArm64 UP-TO-DATE



BUILD SUCCESSFUL in 924ms

88 actionable tasks: 88 up-to-date

Configuration cache entry reused.

so, gradle task copyPodFrameworkResourcesToApp not run copyResourcesPodDebugFrameworkIosSimulatorArm64 when should.

gradle configuration of cocoapods:

kotlin {
    cocoapods {
        authors = "IceRock Development"

        version = "1.0"
        name = "MultiPlatformLibrary"
        summary = "Shared code between iOS and Android"
        homepage = "Link to a Kotlin/Native module homepage"

        ios.deploymentTarget = "15.0"
        podfile = project.file("../ios-app/Podfile")

        listOf("dev", "stage", "prod").forEach { schemeName ->
            xcodeConfigurationToNativeBuildType["$schemeName-debug"] = NativeBuildType.DEBUG
            xcodeConfigurationToNativeBuildType["$schemeName-release"] = NativeBuildType.RELEASE
        }

        framework {
            baseName = "MultiPlatformLibrary"
            isStatic = true
        }

        pod(name = "MCRCDynamicProxy") {
            linkOnly = true
            source = git("https://github.com/icerockdev/moko-crash-reporting.git") {
                tag = "release/0.4.0"
            }
        }

        pod("YandexMapsMobile") {
            packageName = "YandexMK"
            version = "4.7.0-lite"
        }
    }

    @OptIn(ExperimentalKotlinGradlePluginApi::class)
    compilerOptions {
        // Common compiler options applied to all Kotlin source sets
        freeCompilerArgs.add("-Xexpect-actual-classes")
    }
}

i think xcodeConfigurationToNativeBuildType relates to issue.

Workaround

as workaround we can use directly copyResourcesPod***Framework*** tasks.

if [[ "$CONFIGURATION" == *ebug ]]; then
  CONFIG="Debug"
elif [[ "$CONFIGURATION" == *elease ]]; then
  CONFIG="Release"
else
  echo "unsupported configuration - $CONFIGURATION"
  exit 1
fi

if [ "$PLATFORM_NAME" == "iphoneos" ]; then
  TARGET="Ios"
  ARCH="Arm64"
elif [ "$PLATFORM_NAME" == "iphonesimulator" ]; then
  if [ "$NATIVE_ARCH" == "arm64" ]; then
    TARGET="IosSimulator"
    ARCH="Arm64"
  else
    TARGET="Ios"
    ARCH="X64"
  fi
else
  echo "unsupported platform - $PLATFORM_NAME"
  exit 2
fi

"$SRCROOT/../gradlew" -p "$SRCROOT/../" :mpp-library:copyResourcesPod${CONFIG}Framework${TARGET}${ARCH} \
    -Pmoko.resources.BUILT_PRODUCTS_DIR="$BUILT_PRODUCTS_DIR" \
    -Pmoko.resources.CONTENTS_FOLDER_PATH="$CONTENTS_FOLDER_PATH" \
    -Pkotlin.native.cocoapods.platform="$PLATFORM_NAME" \
    -Pkotlin.native.cocoapods.archs="$ARCHS" \
    -Pkotlin.native.cocoapods.configuration="$CONFIGURATION" 
@Alex009 Alex009 added the bug Something isn't working label Sep 6, 2024
@ExNDY
Copy link
Contributor

ExNDY commented Sep 6, 2024

I'm found potential problem:

Actual configuration for task dependencies await only "debug" and "release" configuration, but custom build configuration can contain other names. I think can tomorrow i'm get solution.

@Alex009
Copy link
Member Author

Alex009 commented Sep 22, 2024

will be available in 0.24.3 release

@Alex009 Alex009 closed this as completed Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants