CocoaPods could not find compatible versions for pod "Flipper-Folly"

Scav picture Scav · Feb 10, 2021 · Viewed 8.6k times · Source

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

Answer

makenova picture makenova · Mar 31, 2021

In my case, I had just had to update the repo.

pod install --repo-update

the above command worked for me.