Tipsi-stripe: CocoaPods could not find compatible versions for pod "tipsi-stripe":

Created on 9 Apr 2021  路  4Comments  路  Source: tipsi/tipsi-stripe

Thanks for creating this library.
I am having a bit of trouble getting set up.

I am getting the following error when I run pod install.

`[!] CocoaPods could not find compatible versions for pod "tipsi-stripe":
  In Podfile:
    tipsi-stripe (from `../node_modules/tipsi-stripe`)

Specs satisfying the `tipsi-stripe (from `../node_modules/tipsi-stripe`)` dependency were found, but they required a higher minimum deployment target.`

here is my podfile

`require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'athalens' do
  config = use_native_modules!
  pod 'Stripe', '~> 19.4.0'
  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )

  target 'athalensTests' do
    inherit! :complete
    # Pods for testing
  end

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  use_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
  end
end`

and here is my package.json

`{
  "name": "athalens",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "@react-native-community/netinfo": "^6.0.0",
    "@react-native-firebase/app": "^11.1.2",
    "@react-native-firebase/auth": "^11.1.2",
    "@react-native-firebase/firestore": "^11.1.2",
    "country-codes-list": "^1.6.8",
    "react": "17.0.1",
    "react-native": "0.64.0",
    "react-native-circular-progress": "^1.3.7",
    "react-native-device-info": "^8.0.6",
    "react-native-elements": "^3.3.2",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-haptic-feedback": "^1.11.0",
    "react-native-image-zoom-viewer": "^3.0.1",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-modal": "^11.7.0",
    "react-native-reanimated": "^1.13.2",
    "react-native-redash": "^14.2.1",
    "react-native-router-flux": "^4.3.0",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.18.1",
    "react-native-skeleton-content": "^1.0.20",
    "react-native-vector-icons": "^8.1.0",
    "react-redux": "^7.2.3",
    "redux": "^4.0.5",
    "redux-thunk": "^2.3.0",
    "tipsi-stripe": "^9.0.0",
    "validator": "^13.5.2"
  },
  "devDependencies": {
    "@babel/core": "7.13.10",
    "@babel/runtime": "7.13.10",
    "@react-native-community/eslint-config": "2.0.0",
    "babel-jest": "26.6.3",
    "eslint": "7.14.0",
    "jest": "26.6.3",
    "metro-react-native-babel-preset": "0.64.0",
    "react-test-renderer": "17.0.1"
  },
  "jest": {
    "preset": "react-native"
  }
}
`

Most helpful comment

In your Podfile set
platform :ios, '11.0'
And in xCode set iOS Deployment Target to 11.0
This should do the trick

All 4 comments

Having the same problem...

UPDATE
Ok I just fixed it, maybe we just need to update the docs. The minimum iOS deployment target should be 11, I had it on 10 and that's why it was failing.

Hope it can help you.

In your Podfile set
platform :ios, '11.0'
And in xCode set iOS Deployment Target to 11.0
This should do the trick

thank you! this helped us a lot

thanks its working now

Was this page helpful?
0 / 5 - 0 ratings