A workaround is to add the following to the post_install
step in ios/Podfile
. This way it will be automatically applied when you reinstall dependencies.
# Link headers to fix build on case sensitive file systems
# This will only be executed on case sensitive file systems where "pods" doesn't resolve to "Pods"
unless File.exist? "pods"
# For files, create a symlink with `ln -s`
system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
# For directories, create a symlink with `ln -sfh`