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.

'folly/folly-config.h' file not found

See original GitHub issue

image I’ve got the issue “folly/folly-config.h’ file not found” “react-native” : “0.55.1” I‘ve create the profile

pod 'React', :path => '../../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge', # Include this for RN >= 0.47
    'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket', # Needed for debugging
    'RCTAnimation', # Needed for FlatList and animations running on native UI thread
    # Add any other subspecs you want to use in your project
  ]
  # Explicitly include Yoga if you are using RN >= 0.42.0
  pod 'yoga', :path => '../../node_modules/react-native/ReactCommon/yoga'

  # Third party deps podspec link
  pod 'DoubleConversion', :podspec => '../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../../node_modules/react-native/third-party-podspecs/Folly.podspec'

install success then I run the ios product get the “folly/folly-config.h’ file not found” Error message How can I solve it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:16
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
kelsetcommented, Apr 9, 2018

This happens when your pod cache is corrupted. Try cleaning the Xcode project, then the build folder, then the DerivedData folder, then the pod cache, then run again pod install.

2reactions
xiaoyongchencommented, Apr 17, 2018

@alreadyRight 自己搞个新项目能行, 在原来项目就报错

Read more comments on GitHub >

github_iconTop Results From Across the Web

folly/folly-config.h file not found · Issue #32985 - GitHub
Essentially folly/folly-config.h file not found happens as you're not passing the -DFOLLY_NO_CONFIG flag to the compiler. I'm unsure if this is ...
Read more >
'folly/folly-config.h' file not found - Stack Overflow
I solved clean everything rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && npm cache clean --force && npm cache ...
Read more >
[Solved] 'event2/event-config.h' file not found in React-Native
This issue is come up when we update Xcode version. This issue come up with flipper-folly files. Here is Defined all solution with...
Read more >
Flipper-Folly on CocoaPods.org
The subdirectory experimental contains files that are used inside folly and possibly at Facebook but not considered stable enough for client use. Your...
Read more >
flipperkit/flipperclient.h' file not found - You.com - You.com
[REQUIRED] Step 2: Describe the problem ... Trying to connect firebase to react native app, but failing to build. Have tried reinstalling Cocoapods,...
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