From a0c482f72012a18ee9a57b0cd14d41d53cb27526 Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Fri, 22 Dec 2023 21:39:00 +0530 Subject: [PATCH] Added iOS language detector to Cocoapods build --- mediapipe/tasks/ios/BUILD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mediapipe/tasks/ios/BUILD b/mediapipe/tasks/ios/BUILD index 88b99ffec..c4dcf82d8 100644 --- a/mediapipe/tasks/ios/BUILD +++ b/mediapipe/tasks/ios/BUILD @@ -82,6 +82,9 @@ strip_api_include_path_prefix( "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedder.h", "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderOptions.h", "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderResult.h", + "//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetector.h", + "//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorOptions.h", + "//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorResult.h", "//mediapipe/tasks/ios/vision/core:sources/MPPRunningMode.h", "//mediapipe/tasks/ios/vision/core:sources/MPPImage.h", "//mediapipe/tasks/ios/vision/core:sources/MPPMask.h", @@ -143,10 +146,14 @@ apple_static_xcframework( ":MPPTextEmbedder.h", ":MPPTextEmbedderOptions.h", ":MPPTextEmbedderResult.h", + ":MPPLanguageDetector.h", + ":MPPLanguageDetectorOptions.h", + ":MPPLanguageDetectorResult.h", ], deps = [ "//mediapipe/tasks/ios/text/text_classifier:MPPTextClassifier", "//mediapipe/tasks/ios/text/text_embedder:MPPTextEmbedder", + "//mediapipe/tasks/ios/text/language_detector:MPPLanguageDetector", ], )