google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://mediapipe.dev
Apache License 2.0
26.09k stars 5.04k forks source link

iOS Swift Package Manager (SPM) support #5464

Open zoltancsipler opened 3 weeks ago

zoltancsipler commented 3 weeks ago

OS Platform and Distribution

iOS

Compiler version

No response

Programming Language and version

Swift

Installed using virtualenv? pip? Conda?(if python)

No response

MediaPipe version

No response

Bazel version

No response

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

No response

Describe the problem

Cannot integrate mediapipe libraries with SPM

Complete Logs

On iOS, are you planning to add SPM support to mediapipe libs? Is there any way currently to integrate mediapipe libraries for apps that are using spm and not using cocoapods?
zoltancsipler commented 3 weeks ago

On iOS, are you planning to add SPM support to mediapipe libs? Is there any way currently to integrate mediapipe libraries for apps that are using spm and not using cocoapods?

mantoljak commented 3 weeks ago

Yes I am also interested in SPM support as i use local modules as SwiftPackage, not cocoapods. The problem is when i add MediaPipe pod i cannot import it into my spm unless i create a bridging framework which is basically duplicating everything.

jurajantas commented 2 weeks ago

Would be cool to have manual install or SPM. Cocoa pods are causing issues with SwiftUI previews. (preview crashes)