-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CocoaPods could not find compatible versions for pod "StripePayments" #1657
Comments
@alokkumarpdubey try to downgrade the the version of stripe it will work for sure. |
thanks @AnshIcode for response.. `alokkumardubey@Aloks-MacBook-Air application % npm install @stripe/[email protected] added 1 package, and audited 1212 packages in 3s 145 packages are looking for funding 2 moderate severity vulnerabilities To address all issues, run: Run ――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Command
Report
Stack
Plugins
Podfile# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
# dependencies: {
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
# flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
# linkage = ENV['USE_FRAMEWORKS']
# if linkage != nil
# Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
# use_frameworks! :linkage => linkage.to_sym
# end
target 'application' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
# :flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'applicationTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
end
end Error
――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― [!] Oh no, an error occurred. If none exists, create a ticket, with the template displayed above, on: Be sure to first read the contributing guide for details on how to properly submit a ticket: Don't forget to anonymize any private data! Looking for related issues on cocoapods/cocoapods... |
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabledlinkage = ENV['USE_FRAMEWORKS']if linkage != nilPod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".greenuse_frameworks! :linkage => linkage.to_symend:flipper_configuration => flipper_config,uncomment these lines |
this helped me to close mentioned issue |
latest version support min iOS 13 ref: #1116 (comment) |
I have created a react-native project having following dependencies:
"react": "18.2.0",
"react-native": "0.73.1",
Now I am trying Stripe Payment Integration in this project. For this I have installed the node package :
"@stripe/stripe-react-native": "^0.37.3",
But when I am trying to do "pod install" I am getting following error :
[!] CocoaPods could not find compatible versions for pod "StripePayments": In Podfile: stripe-react-native (from
../node_modules/@stripe/stripe-react-native`) was resolved to 0.37.3, which depends onStripePayments (~> 23.27.0)
None of your spec sources contain a spec satisfying the dependency:
StripePayments (~> 23.27.0)
.You have either:
pod repo update
or withpod install --repo-update
.System details =>
system : macOS Sonoma version 14.4.1
simulator : iPhone 15 Pro Max - iOS 17.2
cocoapods =>
gem which cocoapods
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods.rb
Any ideas??
Please assist me here..
The text was updated successfully, but these errors were encountered: