-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Cant build react native from box in XCode: 'event2/event-config.h' file not found #30836
Comments
Exact same for me |
same from my side: ios/Pods/Headers/Public/libevent/event.h:44:10: 'event2/event-config.h' file not found
#include <event2/event-config.h> |
Same for me |
same for me. this morning, it was ok. but this evening, after "pod install" on an existing project, I had this line : "removing cocoalibevent" and build failed... |
Same for me. I needed to enable google maps on iOS, I run pod install and I can't build anymore. |
Same here for me |
Same for me too |
Not even reverting to legacy build system or re-installing pods worked for me |
Experiencing this exact error on our end. |
Updating from 0.63.3 to 0.63.4 does not work as stated by @michaelvitello |
For me I could get around it by:
|
By disabling Flipper in my Podfile it's worked ! |
Disabling Flipper works like a charm. Go to ios/Podfile And comment this lines: use_flipper! Then remove Pods and re-install them |
The update is indeed needed to re-activate Flipper, if you do not require it then disable it, if you require it you will have to wait for the update |
Yes, that's the probably the best for now indeed |
Exact same for me :/ |
This issue is caused by an update to the "Flipper-Folly" pod-spec. If you'd like to keep Flipper enabled, you can override the version in your Podfile:
|
Thanks, Michael! That was exactly the issue (: |
Thanks! @michaelgmcd ! That's work for me. |
@michaelgmcd that worked for me too! If you're using configurations, this is what I did |
working, thanks! |
thanks, You did me a big favor! |
o great working thanks man. |
i'm facing |
Thank you @michaelgmcd |
I confirm the same problem as well. It is annoying how RN breaks every once in a while and small hacks like this are needed. Thank you @michaelgmcd ! |
Thanks for the help! |
I am using bare expo and none of the above is working for me.. where would i put this use_flipper command - anywhere in my podfile seems to break it |
regardless of the way you are registering the flipper-folly just force this version 2.3.0
or |
ıts worked for me. thx you |
Removed `atomic design` presented in #164. We'd rather use this pattern with more freedom. * Android targetApi to 29 * Fixed gesture handler mock - Related software-mansion/react-native-gesture-handler#344 * Use [ThemeProvider] in `dooboo-ui` * Updated packages * Assign flipper version in ios pod - facebook/react-native#30836
All attempts of change to |
use_flipper!({ 'Flipper-Folly' => '2.3.0', 'Flipper-RSocket' => '1.1' }) |
It worked for me. My environment is: "react": "16.13.1", Xcode: "12.4" Update this change on ios/Podfile Make sure installed pods are up-to-date
And build it through Xcode -> Product -> Build |
this is not working |
this idea is working for me |
Hi, i am getting this issue while trying to update flipper-folly inside Podfile [!] CocoaPods could not find compatible versions for pod "Flipper-Folly":
Specs satisfying the XCode: 12.5 |
@aswinaryal Does |
same here |
Using latest versions works for me |
it's work for me |
It worked for me with the latest flipper |
I meet this issue on 0.63.4 , and I fix it by setting up 'System header search path' on some targets : FlipperKit, Flipper, Fliiper-Folly with value: "$(PODS_ROOT)/libevent/include" no-recursive |
Choose to use ReactNative you'd better master iOS/Android native development, cause RN is not stable at least development environment. |
It worked for me. use_flipper!({ 'Flipper' => '0.122.0' }) |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Try to build clear image on iOS using XCode (Version 12.4 (12D4e)).
React Native version:
"react-native": "0.63.4", also try 0.63.3
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
npx react-native init mob4 --template react-native-template-typescript
cd ios && pod install
Build
Expected Results
Normal stub app
Snack, code example, screenshot, or link to a repository:
The text was updated successfully, but these errors were encountered: