Skip to content

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

Description

@MarvinT

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 **

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions