capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 75 forks source link

Cocoapods StripeApplePay Error #283

Closed razarahil closed 1 year ago

razarahil commented 1 year ago

Whenever I tried to generate the build using cap sync ios, I'm getting this error.

[!] CocoaPods could not find compatible versions for pod "StripeApplePay": [capacitor] In Podfile: [capacitor] CapacitorCommunityStripe (from ../../node_modules/@capacitor-community/stripe) was resolved to 4.2.2, which depends on [capacitor] StripeApplePay (= 23.4.0)

I'm using the Stripe Plugin only for the web.

ciccilleju commented 1 year ago

you must update your pod repository try to run pod install --repo-update and then npx cap sync

rdlabo commented 1 year ago

you must update your pod repository try to run pod install --repo-update and then npx cap sync

This is the solution. This Issue is closed due to lack of progress. Thank you.

madmacc commented 8 months ago

you must update your pod repository try to run pod install --repo-update and then npx cap sync

Thanks @ciccilleju this solved the problem. Just to add this, you need to run this in the yourproject/ios/app directory otherwise you get the error "No 'Podfile' found in the project directory. This was for an Ionic project.