Comments (12)
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.
from moko-resources.
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.
@Alex009 did that and nothing is using dev.icerock.moko:parcelize
from moko-resources.
@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.
I have the same issue. None of my modules uses the parcelize, but the issue exists
from moko-resources.
One moment, you use moko-network? Or moko-network-errors? Or any moko libs exclude resources?
from moko-resources.
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.
beta has many changes under hood include compatibility with kotlin 2.0, thanks for info
from moko-resources.
@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.
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.
@ExNDY we should add this workaround to release notes of 0.24.0
from moko-resources.
Related Issues (20)
- 0.24.0-beta-4 incorrectly handles plurals with `"` character; displays as `\"` on iOS and doesn't display on Android. HOT 2
- Font caching Issue for ios HOT 9
- Crash when using MR.strings() in unit tests iOS HOT 9
- Are there plans to support linuxX64? HOT 1
- Remove unnecessary dependency HOT 1
- How do I get the text value on JVM? HOT 2
- Have a dumb question about a different approach to save resources directly in a Kotlin file :D HOT 1
- 0.24.0-beta-5 creates invalid unicode escape sequence HOT 8
- Can't use Moko resources for JVM target HOT 3
- Add dark mode variants for images HOT 2
- How use fonts in swift ui
- Svg icons with alpha color become black on iOS
- Unable to compile after trying to update to 0.24.0: Unable to find method GenerateMultiplatformResourcesTask.onlyIf HOT 5
- Formatted localization string from swift code
- Gradle Sync failing in Android Studio HOT 3
- Cannot access 'dev.icerock.moko.resources.ResourceContainer' HOT 3
- Moko resources and tvOS support HOT 1
- Calling localized() outside of Composable function HOT 2
- Not being generated Resources String Kotlin 2.0 HOT 2
- Handle different build flavors resources HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moko-resources.