fix(ios): remove unsupported MediaPipe API calls for iOS build#236
fix(ios): remove unsupported MediaPipe API calls for iOS build#236dltkdgns00 wants to merge 1 commit into
Conversation
|
Thanks for the PR, but I can't merge this — these APIs do exist in I just verified against the actual iOS CI is green, GPU backend and audio modality work on real devices. Commenting these out would silently regress those features for everyone. Most likely an older MediaPipe version got pulled into your local Pods. Please try:
If the build still fails after that, please open an issue with the full Xcode error log + your Closing this PR for now. |
|
Closing as discussed in the previous comment — these MediaPipe APIs ( If a clean install ( |
Description
The iOS
MediaPipeTasksGenAI (0.10.33)SDK currently used influtter_gemmadoes not yet support or expose the latest options (e.g.,preferredBackend,enableAudioModality) that were added to the Android version. This causes Xcode compilation errors when these properties and methods (addAudio,cancelGenerateResponseAsync) are called inios/Classes/InferenceModel.swift.This PR temporarily comments out the unsupported API calls to fix the iOS build error.
Type of Change
Testing
Checklist