Git Product home page Git Product logo

Comments (5)

ExNDY avatar ExNDY commented on June 19, 2024

@DatL4g Hi, can u send reproducer?

from moko-resources.

DatL4g avatar DatL4g commented on June 19, 2024

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.

ExNDY avatar ExNDY commented on June 19, 2024

`

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

But i can't reproduce your error

from moko-resources.

ExNDY avatar ExNDY commented on June 19, 2024

Fork with enabled flag: https://github.com/ExNDY/AniFlow/tree/with-cinterop

from moko-resources.

DatL4g avatar DatL4g commented on June 19, 2024

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)

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.