Closed AlienegraGeek closed 1 year ago
iOS is not supported yet. That branch is for this WIP pull request.
That PR is blocked on some build system issues. If you manually fiddle with the paths and copy files around, you might be able to get it to build, but the library isn't linked into the app and the symbols aren't found at runtime. I'm not actively working on fixing this at the moment, but there's a big improvement coming to the way FFI libraries are built that should solve the problem.
i pull ios_support branch, and run
flutter pub run flutter_wasm:ios_setup
(but readme.md saysflutter pub run flutter_wasm:setup
,should update?), then get this exception:I read this file
ios_setup.dart
,Found several paths in the file that are absolute,for example:Then I changed it to my local path,Run
flutter pub run flutter_wasm:ios_setup
again with a successful result:But when I run it next
example/lib/main.dart
,get this errorI mean, are you sure the ios example is runnable? or rather ios is supported?