Xcode: Duplicate Symbols (Conflicts with TensorFlowLiteSelectTfOps dependencies)

17 views
Skip to first unread message

Trọng Nguyễn Công

unread,
Jun 10, 2025, 6:52:16 AMJun 10
to MediaPipe
I'm also running into this issue when integrating MediaPipeTasksGenAIC together with TensorFlowLiteSelectTfOps in an iOS app.

Both frameworks statically embed Google’s C++ protobuf, causing linker errors like: duplicate symbol 'google::protobuf::DescriptorPool::FindFieldByName(...)' and many others.

To reproduce: just add both pods to a Pod file (or Xcode target) and build — you'll get ~3,807 duplicate symbol errors related to protobuf.

How to fix this
Reply all
Reply to author
Forward
0 new messages