diff --git a/mediapipe/tasks/ios/vision/core/BUILD b/mediapipe/tasks/ios/vision/core/BUILD index 816486391..ca3b96169 100644 --- a/mediapipe/tasks/ios/vision/core/BUILD +++ b/mediapipe/tasks/ios/vision/core/BUILD @@ -4,12 +4,20 @@ licenses(["notice"]) objc_library( name = "MPPImage", - srcs = ["sources/MPPImage.h"], - hdrs = ["sources/MPPImage.m"], + srcs = ["sources/MPPImage.m"], + hdrs = ["sources/MPPImage.h"], module_name = "MPPImage", + deps = [ + "//mediapipe/tasks/ios/common:MPPCommon", + "//mediapipe/tasks/ios/common/utils:MPPCommonUtils", + ], sdk_frameworks = [ "CoreMedia", "CoreVideo", "UIKit", - ] + ], + copts = [ + "-ObjC++", + "-std=c++17", + ], )