question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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"
  }
}
`

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

57reactions
Blueeyer27commented, Apr 11, 2021

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

13reactions
pzehlecommented, Apr 10, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pod install ... CocoaPods could not find compatible versions ...
Usually this error happens when you have an earlier version of the Stripe pod already installed, and then add (or update) a JS...
Read more >
ios - CocoaPods could not find compatible versions for pod ...
When running pod update Firebase/core I got this error: [!] No `Podfile.lock' found in the project directory, run `pod install'. . But I...
Read more >
CocoaPods could not find compatible versions for pod ... - Ionic
but they required a higher minimum deployment target. To resolve this error, set the minimum iOS version to 13.0 within your Podfile :...
Read more >
cocoapods could not find compatible versions for pod "rct-folly"
You are seeing this error because either: - Versions in the Podfile.lock cached by EAS do not match required values in Podspecs of...
Read more >
Cocoapods Could Not Find Compatible Versions For Pod
CocoaPods could not find compatible versions for pod Amplify: In snapshot Podfile.lock: Amplify 1.6.0 In Podfile: amplifyauthcognito from.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found