I have been trying to run ios for a new but kept getting this error
** BUILD FAILED **
The following build commands failed:
CompileC /Users/struggle/Library/Developer/Xcode/DerivedData/client-grabnjjdhfcfyugfdqcwdvbebnva/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/struggle/Desktop/Tax/client/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
I saw a solution that said to add use_flipper!({ 'Flipper-Folly' => '2.3.0' })
in my podfile now when i run pod install i get the following error
`[!] CocoaPods could not find compatible versions for pod "Flipper-Folly":
In Podfile:
Flipper-Folly (= 2.3.0)
FlipperKit (~> 0.54.0) was resolved to 0.54.0, which depends on
FlipperKit/Core (= 0.54.0) was resolved to 0.54.0, which depends on
Flipper (~> 0.54.0) was resolved to 0.54.0, which depends on
Flipper-Folly (~> 2.2)
FlipperKit (~> 0.54.0) was resolved to 0.54.0, which depends on
FlipperKit/Core (= 0.54.0) was resolved to 0.54.0, which depends on
Flipper (~> 0.54.0) was resolved to 0.54.0, which depends on
Flipper-RSocket (~> 1.1) was resolved to 1.3.0, which depends on
Flipper-Folly (~> 2.5)`
Using ({'Flipper-Folly' => '2.3.0'})
results in me getting the inital error again.
Please help me fix this issue. Thank You
In my case, I had just had to update the repo.
pod install --repo-update
the above command worked for me.
Delete Podfile.lock and run pod install. It will start working.Also update your cocoapods by running sudo gem install cocoapods
as of today April 11, 2021 use_flipper!({ 'Flipper-Folly' => '2.3.0' })
no longer works. Instead you use, use_flipper!({ 'Flipper-Folly' => '2.5' })
if this won't work in the future either. Look into the error it will tell you which version to use.
Delete Podfile.lock
Add to your Podfile
use_flipper!({ 'Flipper-Folly' => '2.3.0' }) # update this part post_install do |installer|
flipper_post_install(installer)
end
run pod install.
if your Podfile contains below code or something like this and its working successfully for one of your project but not working for others, which means
Your podfile.lock may contains above definition or working flavour of folly.
use_flipper!
post_install do |installer|
flipper_post_install(installer)
installer.pods_project.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
For Mac M1 mates.
I just updates the repo.
arch -x86_64 pod install --repo-update
its worked
Remove the version with flipper so that it installs the latest available one on pod install.
So in pod file:
Change:
use_flipper!({ 'Flipper-Folly' => '2.3.0' })
to:
use_flipper!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With