Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alreadyRight opened this issue Apr 9, 2018 · 12 comments
Closed

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

alreadyRight opened this issue Apr 9, 2018 · 12 comments
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@alreadyRight
Copy link

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?

@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like your issue may be incomplete. Are all the fields required by the Issue Template filled out?

If you believe your issue contains all the relevant information, let us know in order to have a maintainer remove the No Template label. Thank you for your contributions.

How to ContributeWhat to Expect from Maintainers

@kelset kelset added the Platform: iOS iOS applications. label Apr 9, 2018
@kelset
Copy link
Contributor

kelset commented 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.

@maxdavidson
Copy link

Duplicate of #18683?

@kelset
Copy link
Contributor

kelset commented Apr 9, 2018

Nice catch, thanks @maxdavidson.

Duplicate of #18683

@kelset kelset closed this as completed Apr 9, 2018
@xiaoyongchen
Copy link

@alreadyRight
哥们,你的这个问题解决没有

@alreadyRight
Copy link
Author

当时没解决,但现在按照RN文档上操作一遍就成功了

@xiaoyongchen
Copy link

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

@jdegger
Copy link

jdegger commented Apr 17, 2018

Going back to 0.54.2 worked for me. 0.55.0 should not have been released as stable.

@xx-li
Copy link

xx-li commented Apr 18, 2018

Going back to 0.54.4 worked for me.

@Feng999
Copy link
Contributor

Feng999 commented Jun 25, 2018

@alreadyRight 按照哪块的文档操作好的呀

@IjzerenHein
Copy link
Contributor

For me, going forward to 0.54.4 fixed the problem (I was previously on 0.54.3)

@YVvanessa
Copy link

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

遇到了同样的问题,你后来怎么解决的丫?

@facebook facebook locked as resolved and limited conversation to collaborators Apr 9, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Apr 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

10 participants