'folly/dynamic.h' file not found after pod install

See original GitHub issue

Environment

Environment: OS: macOS High Sierra 10.13.2 Node: 8.3.0 Yarn: 0.23.4 npm: 5.3.0 Watchman: 4.9.0 Xcode: Xcode 9.0.1 Build version 9A1004 Android Studio: 2.2 AI-145.3330264

Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.2 => 0.55.2

Steps to Reproduce

  • npm install react-native-svg --save
  • react-native link react-native-svg
  • cd ios && pod install

Podfile

# Add new pods below this line
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'DevSupport'
]

Expected Behavior

Xcode Build with no Errors

Actual Behavior

‘folly/dynamic.h’ file not found alt text

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

8reactions
totodotcommented, Apr 20, 2018

You have to update react-native to 0.55.3 and add this lines to podfile

# To use CocoaPods with React Native, you need to add this specific Yoga spec as well
pod 'yoga', :path =>  react_native_path + '/ReactCommon/yoga'

# React Native
pod 'React', :path => react_native_path, :subspecs => [
  'Core',
  'CxxBridge',
  'RCTText',
  'RCTNetwork',
  'RCTWebSocket',
  'RCTImage',
  'RCTNetwork',
  'DevSupport'
]

# Add new pods below this line
0reactions
stale[bot]commented, Sep 6, 2018

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'folly/dynamic.h' file not found #31452 - facebook/react-native
h ' file not found and on the terminal said: error Failed to build iOS project. We ran "xcodebuild" command but it exited...
Read more >
'folly/Portability.h' file not found React library - Stack Overflow
Hi @Andru I tried your suggestion and when I run 'pod install' I am getting the following error: '[!] Invalid Podfile file: syntax...
Read more >
flipperkit/flipperclient.h' file not found - You.com - You.com
Copied my source to the new project; Build failed with the following error: /Users/user172615/Documents/new-rn62/plumpPlum/ios/plumpPlum/AppDelegate.m:10 ...
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 >
[Resolve]-'folly/folly-config.h' file not found - appsloveworld.com
Coding example for the question 'folly/folly-config.h' file not found. ... I'm having this problem when I want to run the application via xcode....
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