Git Product home page Git Product logo

Comments (12)

Alex009 avatar Alex009 commented on July 19, 2024 2

if i right, as workaround can be used directly addition to gradle moko-parcelize dependency.

dependencies {
    iosMainImplementation("dev.icerock.moko:parcelize:0.9.0")
}

when all used libraries will be updated to moko-resources 0.24.0 you can remove this workaround

from moko-resources.

ahmedsalemelzeiny avatar ahmedsalemelzeiny commented on July 19, 2024

@Alex009 @ExNDY any help?

from moko-resources.

Alex009 avatar Alex009 commented on July 19, 2024

0.24.0-beta-1 not use parcelize at all.

run ./gradlew :coreapp:dependencies and find from what dependency you receive parcelize

from moko-resources.

ahmedsalemelzeiny avatar ahmedsalemelzeiny commented on July 19, 2024

@Alex009 did that and nothing is using dev.icerock.moko:parcelize

from moko-resources.

ahmedsalemelzeiny avatar ahmedsalemelzeiny commented on July 19, 2024

@Alex009 I tried again with version 0.23.0 and I didn't face this issue and also checked all my modules and noting is using dev.icerock.moko:parcelize and also tried to add and export it and the same issue, also the android project is working fine

Here is my build phase script for reference:

"$SRCROOT/../gradlew" -p "$SRCROOT/../" :myAtShared:copyFrameworkResourcesToApp \
    -Pmoko.resources.PLATFORM_NAME="$PLATFORM_NAME" \
    -Pmoko.resources.CONFIGURATION="$CONFIGURATION" \
    -Pmoko.resources.ARCHS="$ARCHS" \
    -Pmoko.resources.BUILT_PRODUCTS_DIR="$BUILT_PRODUCTS_DIR" \
    -Pmoko.resources.CONTENTS_FOLDER_PATH="$CONTENTS_FOLDER_PATH" 
    

Can you please check it?

from moko-resources.

alaegin avatar alaegin commented on July 19, 2024

I have the same issue. None of my modules uses the parcelize, but the issue exists

from moko-resources.

ExNDY avatar ExNDY commented on July 19, 2024

One moment, you use moko-network? Or moko-network-errors? Or any moko libs exclude resources?

from moko-resources.

alaegin avatar alaegin commented on July 19, 2024

I use only moko-resources library and this issue is relevant only for the latest beta version. Latest alpha version works fine

from moko-resources.

ExNDY avatar ExNDY commented on July 19, 2024

beta has many changes under hood include compatibility with kotlin 2.0, thanks for info

from moko-resources.

Alex009 avatar Alex009 commented on July 19, 2024

@alaegin @ahmedsalemelzeiny can you please run ./gradlew :shared:dependencies (shared replace to gradle project name that build ios framework).
in this dependencies list we should find what library also depends on moko-resources, but uses old version.

i think issue can be just like here - icerockdev/moko-fields#50 when Kotlin/Native write own list of dependencies in klibs

from moko-resources.

Alex009 avatar Alex009 commented on July 19, 2024

so, we check on our project this workaround and confirm that it's works.

to not use this workaround consumer project should not use dependencies that works with moko-resources pre 0.24.0.
in moko-resources no changes required. need to update dependent libraries to 0.24.0 resources

from moko-resources.

Alex009 avatar Alex009 commented on July 19, 2024

@ExNDY we should add this workaround to release notes of 0.24.0

from moko-resources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.