Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

upgrading to new react-native version and doing pod install throws an error CocoaPods could not find compatible versions for pod "SocketRocket"

i tried to update react-native version to latest 0.72.3 and run pod install which resulted in next error

[!] CocoaPods could not find compatible versions for pod "SocketRocket":
  In snapshot (Podfile.lock):
    SocketRocket (= 0.6.0, ~> 0.6.0)

  In Podfile:
    React-Core/RCTWebSocket (from `../node_modules/react-native/`) was resolved to 0.72.3, which depends on
      SocketRocket (= 0.6.1)

Specs satisfying the `SocketRocket (= 0.6.0, ~> 0.6.0), SocketRocket (= 0.6.1)` dependency were found, but they required a higher minimum deployment target.

what can be the issue and is there a normal way around it?

like image 582
Victor Orlyk Avatar asked Feb 02 '26 05:02

Victor Orlyk


1 Answers

This worked for me, inside the ios folder

bundle exec pod install --repo-update
like image 86
Vidurajith Darshana Avatar answered Feb 03 '26 22:02

Vidurajith Darshana