How to fix headers name conflict between 2 pods? #571
Unanswered
dawidzawada
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm working on React Native Turbo Modules library and I'm facing the issue - C++ Pod I'm installing -

'zxing-cpp'
in my library podspec have a header file calledPoint.h
- unfortunately this name is not very unique and it conflicts with header filePoint.h
fromReact-graphics
development Pod.I can clearly see that
zxing-cpp
looks for Points.h inside ofReact-graphics
. Is there a way to fix this issue without changing the pods source code? I've heard that i can adjust header mapping config, is there a way to adjust it in for examplepodspec
file to makezxing-cpp
look for headers inside it own source code?This is the file of zxing that imports wrong header:

Basically this can be reproduced by creating a turbomodules library with
create-react-native-library
and adding zxing to dependencies like that:Beta Was this translation helpful? Give feedback.
All reactions