pusher / pusher-websocket-react-native

React Native official Pusher SDK
MIT License
61 stars 52 forks source link

Failed on pod install #146

Open billoneillighttiger opened 5 months ago

billoneillighttiger commented 5 months ago

I have run yarn add @pusher/pusher-websocket-react-native and then run pod install in the ios. But I have got an error like the following.

CocoaPods could not find compatible versions for pod "pusher-websocket-react-native": In Podfile: pusher-websocket-react-native (from ../node_modules/@pusher/pusher-websocket-react-native)

Specs satisfying the pusher-websocket-react-native (from../node_modules/@pusher/pusher-websocket-react-native) dependency were found, but they required a higher minimum deployment target.

benw-pusher commented 5 months ago

Can you ensure your podfile specifies at least version 13? platform :ios, '13.0'

billoneillighttiger commented 5 months ago

Oh, I can see "platform :ios, min_ios_version_supported" in my pod file.

benw-pusher commented 5 months ago

Has changing the setting as advised resolved the issue for you?

Yasir12598 commented 5 months ago

It works for me after changing to platform :ios, '13.0' in podfile