Reputation: 41
Error
!] CocoaPods could not find compatible versions for pod "Stripe":
In Podfile:
stripe_ios (from .symlinks/plugins/stripe_ios/ios
) was resolved to 0.0.1, which depends on
Stripe (~> 22.3.0)
None of your spec sources contain a spec satisfying the dependency: Stripe (~> 22.3.0)
.
You have either:
pod repo update
or with pod install --repo-update
.My Code(https://github.com/NavneetTechlene/stripeExample
)
1.) using Xcode Version 13.3.1 (13E500a) flutter_stripe: ^3.0.2 Flutter 3.0.1• channel stable • https://github.com/flutter/flutter.git
2.) Build for Android success but for iphone
3.) arch -x86_64 pod install with flutter_stripe: ^3.0.2 above error and with # flutter_stripe: ^3.0.2 in pubspec.yaml i can make ios ipa
Upvotes: 2
Views: 8555
Reputation: 11
you can use flutter_stripe 3.2.0 with ios 12+. it works purely
Upvotes: 0
Reputation: 2877
I Got Similar issue as Suggested By @Dr_Usman I have changed IOS Version to 13
but It's not help me. So If its not working then Change IOS Version to 13 and then delete Podfile.lock
then pod install --repo-update
Upvotes: 5
Reputation: 626
I have faced similar issue with flutter_stripe: ^3.0.2
on Flutter 3.0.1
cocoa pods couldn't install.
Change to ios platform 13 in Podfile
platform :ios, '13.0'
Then can run pod install or run app. it worked for me.
Upvotes: 26