-
Notifications
You must be signed in to change notification settings - Fork 245
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
error: 'new' is unavailable: You cannot directly instantiate an STPIssuingCardPin #246
Comments
I'm having this issue now too. Were you able to fix it? |
It seems to randomly come and go for me and I can't figure out why. |
I think it would be helpful if you could post the podfile.lock part from the iOS directory and specifically the stripe part - one might be able to figure out if it's a dependency issue |
here's the whole podfile.lock PODS:
DEPENDENCIES:
SPEC REPOS: EXTERNAL SOURCES: SPEC CHECKSUMS: PODFILE CHECKSUM: 41bf8c5e7f33c17385779784d89132adf1e92e40 COCOAPODS: 1.10.0 |
Any news on this? We need to publish an update :( |
It's still a problem for me unfortunately. |
Same issue for me. Just added |
It happens if the min iOS version is set to 10 and above. If set to 9 then it works ok. |
Resolving dependencies of Podfile To integrate latest version of Stripe SDK, we required min iOS 11. |
Same issue on Sample project too. Even if I didn't change any settings. |
Same here on Xcode 12.5 beta 3 |
any update on this, i get that error on even on flutter_stripe_payment: 1.0.8 |
Can someone provide a repo with a minimal reproducible example? |
Same here on Xcode 12.5 beta 3 |
Any updates on this? |
I think this is not related to this project directly (or maybe because it relies on the Objective-C implementation of Stripe Library). I do have the same issue on a completely other project which is not using flutter_stripe_payment. |
This seems to have been an on going things since February, so I don't know about that... that said if there is a newer version of the pod that work seamlessly with this plugin I would vote to update to it since there are normally a good number of security fixes and the like, and this issue may well be a deprecated version of the lib being used as the primary (I do think I fixed this at one point by hand changing my lock file to a newer version of the sdk) |
I apologize @alexduros I think you are exactly right. After reading in a bit more it seems even stripe had been working on this since Feb https://github.com/stripe/stripe-ios/tree/v19.4.1 . |
some update of this issue, I am going to install version 12.4 of Xcode to see if it is solved |
uninstall the latest version of Xcode (12.5) and install 12.4 and everything worked fine. |
I had to get a build out, so I had done the same... For some reason Apple Pay doesn't show anymore, but I'm guessing that's something else, but yeah had to downgrade for now till someone else has or I have time to get the plugin updated to the latest SDK. :-/ Really wanted to help more, but too much going on at the moment, sorry! |
FYI, those errors can occur both on 12.4 and 12.5 version of Xcode, the "only" difference is that the error happen at build time on 12.5 and at runtime on 12.4. |
@alexduros I highly doubt that - please provide more information if you receive errors on 12.4 |
@jonasbark I was able to compile the app correctly, apparently it did not give me any runtime error or compile error, everything works fine, with version 12.5 of xcode it is when it gave me the error |
decided to upgrade to xcode 12.5 today and this issue started happening again. I ran 'pod update' and stripe upgraded from 19.4.0 to 19.4.1 and the problem is solved. |
I'm suddenly encountering ios build issues which looks like an compile time error in the stripe sdk:
It seems like recent versions of this plugin fixed the version of the stripe SDK its using, but could this be from another transitive dependency?
The text was updated successfully, but these errors were encountered: