flutter-app-template icon indicating copy to clipboard operation
flutter-app-template copied to clipboard

run script error: Library not loaded, FlutterEmbedder

Open canadaduane opened this issue 5 years ago • 4 comments

I'm starting a fresh project using the latest flutter version, but when I run ./scripts/run.py I get the following error at the end of the compilation steps:

   ...
   Compiling tokio-tcp v0.1.3
   Compiling tokio v0.1.18
   Compiling cargo_toml v0.4.0
   Compiling flutter-engine v0.2.1
   Compiling shannon_editor v0.1.0 (/Users/duane/Projects/flutter-app/rust)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 01s
     Running `target/debug/shannon_editor`
dyld: Library not loaded: @rpath/FlutterEmbedder.framework/Versions/A/FlutterEmbedder
  Referenced from: /Users/duane/Projects/flutter-app/rust/target/debug/shannon_editor
  Reason: image not found

I'm not sure what @rpath should expand to, so I'm not sure where to look for this library.

Environment

Mac OS X 10.14.3

Rust:

rustc --version
rustc 1.32.0 (9fda7c223 2019-01-16)

Flutter:

~/flutter/bin/flutter --version
Flutter 1.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8661d8aecd (7 weeks ago) • 2019-02-14 19:19:53 -0800
Engine • revision 3757390fa4
Tools • Dart 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

canadaduane avatar Apr 07 '19 19:04 canadaduane