-
Notifications
You must be signed in to change notification settings - Fork 996
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
Stripe pod does not compile on Xcode 11.4 #1525
Comments
Looks like this might be fixed in #1524 |
#1526 was just merged in so I believe this should be resolved soon 🤞 |
Thanks for the report, we're working on releasing a new version that fixes this now. |
We've just published a release with this fix https://github.com/stripe/stripe-ios/releases/tag/v19.0.1 |
My app still supports iOS 9. |
Same here! |
Issued a PR for v14.0.0/v14.0.1 |
…mpat (#8594) # Why - Fixes #7621. - Stripe 13 is incompatible with Xcode 11.4. - We've been slow to update the package. # How - Updated the dependency version to `~> 14.0.1` fixing the issue as per stripe/stripe-ios#1525 (comment). The 13 ➡️ 14 upgrade should not break anything, I have verified that we don't use any of the changed classes described [in changelog](https://github.com/stripe/stripe-ios/blob/master/CHANGELOG.md#1400-2018-11-14). - Added the ability to set a completely custom version of Stripe in order to let people upgrade to newer versions without using `patch-package` etc. We already do this in eg. `expo-image`. # Test Plan Temporarily I have removed the `expo-payments-stripe` package from the list of `excludedUnimodules` in `bare-expo`. I have verified that after applying these changes the application runs successfully.
* Add LinkCardEditElement * Remove CardDetailsEditView * Refactor to use CardExpiryDate * Set default countries * Remove default label * Hide checkbox for default PM * Re-add label * Add snapshot tests * Cleanup * Fix animation glitch * Properly the delegate * Remove CardDetailsEditView.swift * Fix tests * Cleanup * Add assert message * Add TODO * End editing when submitting the form * Remove extra constraints * Rename expiry date element var * Fix test * Remove hardcoded years * Rename var * Add clarifying comment
what is the latest version that still accomdates the didcreatetoken method? |
Summary
After just recently updating to the new Xcode 11.4 I am unable to build my project withe Stripe SDK pod. Compiler error given is:
Incompatible block pointer types sending '__strong STPAPIResponseBlock _Nonnull' (aka 'void (^__strong)(ResponseType _Nullable __strong, NSHTTPURLResponse * _Nullable __strong, NSError * _Nullable __strong)') to parameter of type 'void (^ _Nonnull)(STPSource * _Nullable __strong, NSHTTPURLResponse * _Nullable __strong, NSError * _Nullable __strong)'
Code to reproduce
I was able to repro with a newly created empty project. Just run
pod init
add the latest stripe pod and try to build.iOS version
13.4
Installation method
Cocoapods
SDK version
19.0.0 (also observed this behavior on 18.x versions)
Other information
I've tried everything imaginable: nuking pods, restarting my computer, deleting derived data, etc. As soon as I downgrade to 11.3.1 I am able to successfully build again.
From the error response above it seems this might be related to ObjC generics?
The text was updated successfully, but these errors were encountered: