fatal error: 'double-conversion/double-conversion.h' file not found during upgrade from rn version 0.59.8 to 0.60.5
See original GitHub issueI was using the React Native upgrade helper to upgrade from React Native Version 0.59.8 to 0.60.5. After changing all non Android specific files building the project failed with the hint: fatal error: 'double-conversion/double-conversion.h' file not found
. A Podfile
already existed in the project before upgrading React Native and was modified in the process: Podfile_New.txt,
Podfile_Old.txt
Interestingly changing the line #include <double-conversion/double-conversion.h>
to #include <DoubleConversion/double-conversion.h>
in ios/Pods/Folly/folly/Conv.h
seems to solve this problem, however other errors are then triggered. Also this does not feel like a ‘real’ solution.
React Native version:
System: OS: macOS 10.14.6 CPU: (4) x64 Intel® Core™ i5-5257U CPU @ 2.70GHz Memory: 51.46 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 11.14.0 - /usr/local/bin/node npm: 6.9.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3 IDEs: Android Studio: 3.4 AI-183.5429.30.34.5452501 Xcode: 10.3/10G8 - /usr/bin/xcodebuild npmPackages: @react-native-community/cli: 1.10.0 => 1.10.0 react: 16.8.6 => 16.8.6 react-native: 0.60.5 => 0.60.5 npmGlobalPackages: react-native-cli: 2.0.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
I’m solving that with :
use_frameworks!
from your PodfileIf i remove the use_frameworks from the pod file then it give the firebaseMessaging Error =>Protobuf/Any.h not found and to solve this i have to write use_frameworks! in the pod file
so finally iam in the loop of this Error…