Code Monkey home page Code Monkey logo

Comments (6)

Catsvilles avatar Catsvilles commented on May 24, 2024 1

I saw that Wasmer has IOS support now, so we are getting there, I guess :)

https://wasmer.io/posts/wasmer-2.1

from wasm.

liamappelbe avatar liamappelbe commented on May 24, 2024

Not quite yet. I haven't published the flutter plugin yet, because I haven't added iOS support. I'm working on that now.

from wasm.

raegartargarian avatar raegartargarian commented on May 24, 2024

when approximately should we expect flutter support?

from wasm.

wjcwukong avatar wjcwukong commented on May 24, 2024

any update to support iOS?

from wasm.

liamappelbe avatar liamappelbe commented on May 24, 2024

I've been working on it from time to time, but it's not my top priority. The main issue is that I'm running into a long series of linker errors. I have no experience with iOS, so they're taking a long time to fix, and each time I fix one there's another. So I don't have an ETA.

If any iOS build system experts want to take a crack at fixing it, you can clone the branch and try flutter run in flutter_wasm/example. The layers of build scripts are: flutter run -> flutter_wasm/ios/flutter_wasm.podspec -> flutter_wasm/bin/ios_setup.dart -> wasm/bin/setup.dart -> cargo/clang.

One other weird thing I've noticed is that if I run flutter_wasm/bin/ios_setup.dart directly, the build progresses further (though I still get other linker errors). So the iOS build system must be doing something strange to the environment variables.

from wasm.

sachaarbonel avatar sachaarbonel commented on May 24, 2024

I believe you need a dummy swift method that invokes your rust library because somehow xcode considers them as unused and strip them. For example: https://github.com/brickpop/flutter-rust-ffi/blob/f7b5d399bab542641b67466c31294b106d57bb9e/ios/Classes/SwiftMylibPlugin.swift#L15-L16

from wasm.

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.