Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

'cmath' file not found #1972

Closed
ghadeeraqraa1992 opened this issue Mar 1, 2021 · 3 comments
Closed

'cmath' file not found #1972

ghadeeraqraa1992 opened this issue Mar 1, 2021 · 3 comments

Comments

@ghadeeraqraa1992
Copy link

ghadeeraqraa1992 commented Mar 1, 2021

🐛 Bug Report

I'm getting the following error when building my iOS react native app :

Screen Shot 2021-03-01 at 12 03 08 PM

To Reproduce

1- enable flipper
2- cd ios
3- pod install
4- build the project from xCode

Environment

react native version : 0.63.4
Flipper version : 0.78.0
Xcode version : 12.4

@mweststrate
Copy link
Contributor

cc @priteshrnandgaonkar

Note that the React Native template seems to be currently out of date, so the solution for now might be to downgrade the Flipper binding versions used (somewhere between v 0.60 and 0.70 is probably ok?). Hopefully facebook/react-native#31010 gets released soon

@ghadeeraqraa1992
Copy link
Author

cc @priteshrnandgaonkar

Note that the React Native template seems to be currently out of date, so the solution for now might be to downgrade the Flipper binding versions used (somewhere between v 0.60 and 0.70 is probably ok?). Hopefully facebook/react-native#31010 gets released soon

I tried using using v 0.60.0 and v 0.70.0 and I got the below error :
ios/Pods/Headers/Public/libevent/event.h:44:10: 'event2/event-config.h' file not found

@mweststrate
Copy link
Contributor

mweststrate commented Mar 3, 2021

Just verified, our reference project is up to date and builds correctly with Flipper 0.78 against the latest react native version. I recommend to check if it builds correctly for you, compare it with your project, and if that doesn't result in anything check the trouble shooting guide: https://fbflipper.com/docs/troubleshooting/#ios-build-errors-in-react-native. Feel free to reopen / ping if that doesn't help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants