QuickBlox / quickblox-react-native-sdk

quickblox-react-native-sdk
Other
4 stars 1 forks source link

CocoaPods could not find compatible versions for pod "quickblox-react-native-sdk" #6

Closed aravi365 closed 4 years ago

aravi365 commented 4 years ago

UNABLE TO INSTALL FROM PODFILE

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

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

Screenshot 2020-02-17 at 5 44 21 PM
ghost commented 4 years ago

Hello @aravi365

Try to use the following step by step instruction https://blog.quickblox.com/getting-started-with-quickblox-react-native-sdk/ and let me know if the reported issue occurs again.

aravi365 commented 4 years ago

Yes, followed the instructions. Tried to install on a new react native project version 0.61.5 and version 0.59 . Both failed with pods. Tried linking using react-native link and it worked a bit, but not fully!

ghost commented 4 years ago

@aravi365

The reported issue occurs due to the incorrectly filled IOS version in the parameter 'platform' in ios/Podfile. There you should specify IOS version which couldn't be less than 10.0.

Find the minimum system requirements below: iOS 10 Android (minimum API version 14) React Native (minimum version 0.60)

https://docs.quickblox.com/docs/react-native-setup#section-minimum-system-requirements

Let me know if it helps to solve the issue.

aravi365 commented 4 years ago

@aravi365

The reported issue occurs due to the incorrectly filled SDK version in the parameter 'platform'. There you should specify the actual SDK version (which couldn't be less than 10.0).

Let me know if it helps to solve the issue.

Can you please elaborate so that i can have a clear idea ??

This is what i have done:

  1. Start a fresh react native project (0.61.5)
  2. yarn add quickblox-react-native-sdk
  3. Open ios folder and then pod install ..and then this error occurred.
ghost commented 4 years ago

@aravi365

Please take a look at QuickBlox ReactNative Setup guidance carefully and proceed with the right installation on your side: https://docs.quickblox.com/docs/react-native-setup

aravi365 commented 4 years ago

@aravi365

Please take a look at QuickBlox ReactNative Setup guidance carefully and proceed with the right installation on your side: https://docs.quickblox.com/docs/react-native-setup

Also, there is no documentation for configuring react native projects below 0.60. Can you please update your documentation with separate installation procedure and guidelines for 0.60 and below and above.

ghost commented 4 years ago

@aravi365 it is better to always use the latest stable version of React Native SDK because it contains fixes and improvements. So I'm not sure if guidelines are needed for outdated versions.

ghost commented 4 years ago

@aravi365 Do you have any additional questions or the ticket could be closed?

aravi365 commented 4 years ago

@aravi365 Do you have any additional questions or the ticket could be closed?

Since the library is totally new and has only less documentation, i decided to go with some other. Thanks for your time and help.

tiwari4github commented 4 years ago

i got the same error, but there is no error in their sample project

tiwari4github commented 4 years ago

@aravi365 i made a POC with chat , video call , all running fine, if you are using there downloaded sample. but you cant install pod in a new project. @QB-vladyslav-vyshniak ?

tiwari4github commented 4 years ago

i found the solution. set cocoa pod deployment target to 10.0 instead of 9.0. it will work.

platform :ios, '10.0'

ghost commented 4 years ago

@tiwari4github yes, you are right, recently I have updated my comment and mentioned there the minimum system requirements for IOS, Android and ReactNative.

Comment: https://github.com/QuickBlox/quickblox-react-native-sdk/issues/6#issuecomment-587029788

I think the issue could be closed.

aravi365 commented 4 years ago

Can you please update the Readme ??