question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

I 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:closed
  • Created 4 years ago
  • Comments:11

github_iconTop GitHub Comments

53reactions
kenMarquezcommented, Sep 12, 2019

I’m solving that with :

  • removing use_frameworks! from your Podfile
  • close xCode
  • rm -rf ~/library/developer/xcode/deriveddata
  • rm -rf ~/.rncache
  • rm -rf node_modules && yarn install && cd ios && rm -rf Pods && pod install && cd …
  • clean and run
2reactions
CVRamanacommented, Jan 7, 2020

I’m solving that with :

  • removing use_frameworks! from your Podfile
  • close xCode
  • rm -rf ~/library/developer/xcode/deriveddata
  • rm -rf ~/.rncache
  • rm -rf node_modules && yarn install && cd ios && rm -rf Pods && pod install && cd …
  • clean and run

If 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…

Read more comments on GitHub >

github_iconTop Results From Across the Web

'double-conversion/double-conversion.h' file not found, lexical ...
Relevant code and error messages should be pasted into the question as text. This is for a whole bunch of good reasons (search,...
Read more >
'double-conversion/double-conversion.h' file not found
You are using the RN version (0.60.4) which does not work with use_frameworks!. I suggest removing use_frameworks! from your Podfile or using ...
Read more >
[iOS] RN 0.60.0-rc.2 fails to build with CocoaPods frameworks
The changes in 0.60.0 to integrate CocoaPods by default are causing ... fatal error: 'double-conversion/double-conversion.h' file not found.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found