google / flutter-mediapipe

Apache License 2.0
161 stars 7 forks source link

[mediapipe_task_genai] Cannot run mac build, can't find framework file #67

Open MarvinT opened 6 days ago

MarvinT commented 6 days ago

when I run flutter run -d macos --dart-define=GEMMA_2B_CPU_URI=/path_here in the genai example folder I get

/.../flutter-mediapipe/packages/mediapipe-task-genai/example/build/macos/Build/Products/Debug/example.app/Contents/Frameworks/App.framework/App: signed bundle with Mach-O thin (x86_64) [io.flutter.flutter.app]
/.../flutter-mediapipe/packages/mediapipe-task-genai/example/build/macos/Build/Products/Debug/example.app/Contents/Frameworks/FlutterMacOS.framework/FlutterMacOS: signed bundle with Mach-O universal (x86_64) [io.flutter.flutter-macos]
building file list ... done

sent 73 bytes  received 20 bytes  186.00 bytes/sec
total size is 0  speedup is 0.00
/.../flutter-mediapipe/packages/mediapipe-task-genai/example/build/macos/Build/Products/Debug/example.app/Contents/Frameworks/*.framework: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **