-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Description
My project is already integrated with Google MLKit and working as normal. But after installing pod 'TensorFlowLiteTaskVision'
and run the project again it produced the issue.
I figured out that the code of GMLImage.h
in TensorFlowLiteTaskVision Framework
has exactly the same code of GMLImage.h
in MLImage Framework
.
So, my question is how to resolve this problem? or any workaround solution?
Here is the issue log:
duplicate symbol 'OBJC_IVAR$_GMLImage._height' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._pixelBuffer' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._sampleBuffer' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._orientation' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._width' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._imageSourceType' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_IVAR$_GMLImage._image' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_CLASS$_GMLImage' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
duplicate symbol 'OBJC_METACLASS$_GMLImage' in:
/Users/admin/Documents/Project/my-project/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage(GMLImage.o)
/Users/admin/Documents/Project/my-project/ios/Pods/TensorFlowLiteTaskVision/Frameworks/TensorFlowLiteTaskVision.framework/TensorFlowLiteTaskVision(GMLImage.o)
ld: 9 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Metadata
Metadata
Assignees
Labels
No labels