Git Product home page Git Product logo

Comments (4)

KevinnZou avatar KevinnZou commented on June 12, 2024

https://github.com/KevinnZou/compose-webview-multiplatform/actions/runs/9088078422

from compose-multiplatform.

eymar avatar eymar commented on June 12, 2024

You need to have this line in build.gradle.kts https://github.com/JetBrains/compose-multiplatform/blob/master/components/resources/library/build.gradle.kts#L199 (In 1.6.10 stable it won't be needed anymore)

from compose-multiplatform.

KevinnZou avatar KevinnZou commented on June 12, 2024

@eymar Thanks for your help! This line did solve the problem on Linux and Windows. But it leads to a new error on MacOS:

e: /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
> Task :sample:shared:linkDebugFrameworkIosArm64 FAILED
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:
    
    kotlin.native.cacheKind.iosArm64=none

I tried to add this line kotlin.native.cacheKind.iosArm64=none but got another error:

* What went wrong:
Error: 'kotlin.native.cacheKind.iosArm64' is explicitly set to 'none'.
This option significantly slows the Kotlin/Native compiler.
Compose Multiplatform Gradle plugin manages this property automatically based on a Kotlin compiler version being used.
  * Recommended action: remove explicit 'kotlin.native.cacheKind.iosArm64=none' from gradle.properties. 
  * Alternative action: disable cache kind management by adding 'compose.kotlin.native.manageCacheKind=false' to your 'gradle.properties'.

Link to the github action: https://github.com/KevinnZou/compose-webview-multiplatform/actions/runs/9104698697/job/25031368456#step:4:771

from compose-multiplatform.

eymar avatar eymar commented on June 12, 2024

This xcode version seems to be the reason:
Xcode_14.2.app

Try to use the newer version of your macos runner

from compose-multiplatform.

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.