Hi,
I just try to upgrade the firebase pods to version 4.1.1 and they need the leveldb-library pod.
The problem is when I try to build, the stdint.h from leveldb is used in Yoga.h but it thorws a error:
This file should only be included when compiling with MSVC
Has anybody seen that error before and knows how to fix it?
In version 4.0.3 everything is working because the leveldb-library is not used.
Kind regards,
David
Ye it's an annoying thing at the moment with having leveldb on cocoa pods,
I'd suggest doing what a user on discord did as a work around:
Add it as a package script so you can re-use it if needed later:
cd ios && rm -rf Pods/leveldb-library/port/win
I've just ran into this myself.
This workaround can be added to Podfile
as follows:
# Temporary workaround for https://github.com/invertase/react-native-firebase/issues/395
post_install do
`rm -rf Pods/leveldb-library/port/win`
end
Is this still necessary?
Most helpful comment
I've just ran into this myself.
This workaround can be added to
Podfile
as follows: