Comments (5)
@DatL4g Hi, can u send reproducer?
from moko-resources.
Hey @ExNDY I can't provide a minimalistic reproducer right now but you can test it with https://github.com/DatL4g/AniFlow
Steps required to build:
- Clone as usual
- Create a
composeApp/sekret.properties
with the content below - Run
./gradlew generateSekret
once
sekret.properties content:
FIREBASE_PROJECT=test
FIREBASE_ANDROID_APPLICATION=test
FIREBASE_ANDROID_API_KEY=test
FIREBASE_IOS_APPLICATION=test
FIREBASE_IOS_API_KEY=test
ANILIST_CLIENT_ID=test
ANILIST_CLIENT_SECRET=test
After following these steps you should be able to reproduce the issue by just adding kotlin.mpp.enableCInteropCommonization=true
to the root gradle.properties
from moko-resources.
`
Task :composeApp:compileKotlinIosSimulatorArm64 FAILED
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/module/NetworkModule.kt:18:27: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/module/NetworkModule.kt:131:28: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/module/NetworkModule.kt:132:32: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/iosMain/kotlin/dev/datlag/aniflow/module/PlatformModule.ios.kt:47:29: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/iosMain/kotlin/dev/datlag/aniflow/module/PlatformModule.ios.kt:48:33: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/iosMain/kotlin/dev/datlag/aniflow/module/PlatformModule.ios.kt:49:26: error: Unresolved reference: Sekret
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/iosMain/kotlin/main.kt:5:75: error: No value passed for parameter 'di'
/Users/exndy/Documents/Projects/DELETE/AniFlow/composeApp/src/iosMain/kotlin/main.kt:5:75: error: No value passed for parameter 'content'
error: Compilation finished with errors
`
ios part doesn't work. But...
![Снимок экрана 2024-04-27 в 15 33 57](https://private-user-images.githubusercontent.com/22731300/326165944-69c16dd3-6810-4228-a7c8-ea91bfab8570.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ1MTA0NzEsIm5iZiI6MTcxNDUxMDE3MSwicGF0aCI6Ii8yMjczMTMwMC8zMjYxNjU5NDQtNjljMTZkZDMtNjgxMC00MjI4LWE3YzgtZWE5MWJmYWI4NTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDMwVDIwNDkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJiN2I1OGVkODEzMGQxNTMwNDllZTE4NDhmNDEzOTUzOGJmOGFiZDhjNjg0MzhlMTY0MWI5NjQ0MDNkMTcwYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OM95IzHXi7ycO-CVhwSSgF-Gv8meRR5v2gnfsEQruxg)
But i can't reproduce your error
from moko-resources.
Fork with enabled flag: https://github.com/ExNDY/AniFlow/tree/with-cinterop
from moko-resources.
Alright it's a bit weird but seems to be some kind of IntelliJ (Cache?) problem.
Booted up Android Studio and the project configuration and build went fine.
Started IntelliJ Ultimate then and the problem is gone, even though I deleted the IntelliJ and Gradle cache multiple times previously.
I guess this issue can be closed then.
from moko-resources.
Related Issues (20)
- Seeing crashes on iOS 16/17 when using localized string in compose
- Display image in swift ui HOT 2
- Support Layout Direction along side resources
- update Readme for custom resources sourceSet
- Fix CI checks for 0.24.0 release HOT 4
- Use with redwood HOT 2
- NegativeArraySizeException when syncing with 0.24.0-beta-1 HOT 2
- Symbol "\n" doesn't work in iOs in 0.24.0-beta-1 HOT 2
- Add gradle plugin tests
- The application is crashing on iOS due to painterResource HOT 4
- Generate iOS resources failed due to dev.icerock.moko:parcelize HOT 12
- IOS crash, kotlin.IllegalArgumentException: can't read UIImage of ..., 0.24.0-beta-1 HOT 7
- Color resolved with colorResource on ios is not updated when resource changes HOT 3
- Strange `can't compile assets - 1` error on iOS due to missing simulator HOT 6
- Function 'stringResource' can not be called: No function found for symbol HOT 5
- Slow build time HOT 4
- 0.24.0-beta-2 incorrectly translates strings with `&` for Android as just `&` HOT 4
- 0.24.0-beta-2 includes file extension in `files` and `assets` in the resource name HOT 1
- Apostrophe incorrectly displayed on iOS HOT 3
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.