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
Xcode 12.5 causing CompileC build command failure on Flipper-Folly pod #155
Comments
Also have an issue with Flipper-Folly :(
I tried facebook/react-native#26118 (comment) |
Also had an issue with Flipper-Folly for new Xcode version 12.5.
|
More detailed discussion: facebook/react-native#31179 |
it's work for me! |
It's work ! |
Solution without losing Flipper functionality:Define the upgraded dependencies for Flipper in the Podfile React Native 62def add_flipper_pods!(versions = {})
versions['Flipper'] ||= '~> 0.87.0'
versions['DoubleConversion'] ||= '1.1.7'
versions['Flipper-Folly'] ||= '~> 2.5.3'
versions['Flipper-Glog'] ||= '0.3.6'
versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
versions['Flipper-RSocket'] ||= '~> 1.3.1' React Native 63 use_flipper!({'Flipper' => '0.87.0' , 'Flipper-Folly' => '2.5.3' , 'Flipper-RSocket' => '1.3.1' })
post_install do |installer|
flipper_post_install(installer)
end
React Native 64Bump the version to 0.64.1 in the package.json
https://github.com/facebook/react-native/releases/tag/v0.64.1 reference link: https://stackoverflow.com/a/67401311/6776378 |
I still had |
This worked for me without having to comment out flipper-folly in the podfile: use_flipper!({'Flipper' => '0.87.0' , 'Flipper-Folly' => '2.5.3' , 'Flipper-RSocket' => '1.3.1' }) Then: I'm running: Hope this helps 👍 |
I solved this issue by commenting out 'use_flipper!' in the Podfile.
|
use @tolacambo solutions, comment flipper than , "pod install" , and the run ios |
thank a lot, you save my day! |
I tried your instructions for version 0.62 of React, but now I got a different error
Any other things I have to change? Maybe having to upgrade the React Native version? Maybe downgrade my Xcode to 12.4? That's what I am going to try next. |
After commented the code. Follow these steps and it worked fine. |
With xcode 12.5 we can't build the app so we must specify certain versions of Flipper. Steps: `cd ios` `rm -rf Pods && rm Podfile.lock && pod install` `cd .. && yarn ios` Error: ** BUILD FAILED ** The following build commands failed: CompileC /Users/florianpires/Library/Developer/Xcode/DerivedData/CozyReactNative-devalkixoycmfgemernyouwwxlia/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/florianpires/Developer/cozy/cozy-react-native/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Issue: react-native-community/upgrade-support#155
Hello, I have exactly the same error. Did you resolve it? |
Yes I followed those steps with the commands and it worked. |
Getting the same error on react native 0.64.2 and xcode 12.5.1 |
same here, spent all my day and still can't figure out :( |
@bimemto I used https://react-native-community.github.io/upgrade-helper/ and noticed I was missing somethings. I downgraded to react native 0.64.1 and added the following to my Podfile:
and it worked. Hope it does for you too! |
Thanks for your response. I have tried but no luck. FYI I am on Macbook M1 chip |
@droplessjordan Awesome - the Podfile change did the trick for me - thank you so much!! XCode 12.5, React Native 0.64.1, Big Sur |
It works for me too! |
Try to delete the DerivedData file then follow the above steps. |
Thanks a lot... This worked for me... I found the React-Native version (version 0.63.4) from package.json file that was in the "node_modules/react-native/" folder and then followed the suggested solution... |
Worked for me. Thanks |
Any solution that works with react-native v0.66.0? |
Update |
Still doesnt work for me. RN 0.66 it didnt work few weeks ago, any of these fixes, neither it works today when im making another app. I'll again use RN 0.63 but its somewhat sad. |
Even in RN 0.63 it completely prevents me from running on iOS simulator. However, commenting out use_flipper! all the way to the end, in podfile does "solve" it on 0.63. |
This somehow worked for me. I don't know how it happened so I will share the steps I did. after the Flipper error I comment just this line in ios/Podfile
and did pod install which removed the flipper dependencies. then run the project "npx react-native run-ios" then project is successfully working now so then I removed the comment of flipper and and did the pod install again And This is it. I hope this helps. some version Info:- node: 16.13.2 (LTS) package.json:- "dependencies": { |
I tried @Jayvish100 's solution, but the same error occurred. I am on an M1 Mac too. npm 8.3.1 The error I receive is:
|
I got the same error. Did you get any solution ? |
this worked for me, just hoping I will not loose functionality commenting out flipper |
i am faceing the error |
Environment
Things I’ve done to figure out my issue
Upgrading version
Description
After updating Xcode to
12.5
, when trying to run my app for development in a simulator (iOS 14.5), I get the following error:I have tried updating the
flipper-folly
pods to2.5.1
and specifying this in my podfile withuse_flipper!({ 'Flipper-Folly' => '2.5.1' })
however this has not solved the issue. I have also tried deleting my podfile.lock file, clearing the pod cache and that has not helped either.Reproducible demo
The text was updated successfully, but these errors were encountered: