#wullvie
1 messages · Page 1 of 1 (latest)
Hey Rubeus
Hello! What does "seemingly broken" mean?
I'll try and be as prompt / helpful as i can without dragging on here
So the first issue was from the Stripe, StripeCore, and Stripe3D2S xcframework files
Upon launching the xcode project and building, I got errors for all 3 saying there were unable to be verified? I forget the exact terminology but essentially the signing was corrupt and I wasnt able to get them to build at all
I'm assuming in the last year or so Stripe updated / moved away from something in these frameworks which invalidated them? The larger issue now though is the discrepancies between the online docs and the available methods for certain methods.
SCPBluetoothConnectionConfiguration no longer is showing the method listed here: https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=bluetooth#discover-readers
I'm developing in objc FYI. The pod versions I am using are as follows:
Installing Stripe (23.21.1)
Installing StripeApplePay (23.21.1)
Installing StripeCore (23.21.1)
Installing StripePayments (23.21.1)
Installing StripePaymentsUI (23.21.1)
Installing StripeTerminal (3.2.1)
Installing StripeUICore (23.21.1)
I'm struggling to understand the difference between SCPBluetoothConnectionConfigurationBuilder and SCPBluetoothConnectionConfiguration, and how to use either of them now going forwards.
Sorry, not sure I completley understand. Did you solve the signing errors you mentioned, or is that still an issue?
For the differences between those two, do these docs help?
I believe I solved those issues, but have not been able to thoroughly test yet. I have been able to build the project with the above pod versions though
Those docs help yes, but if you look at the "Connect to a reader" documentation from the link I sent above, I'm having issues when using the "SCPBluetoothConnectionConfigurationBuilder"
I'm getting *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SCPBluetoothConnectionConfigurationBuilder toLocalMobileConnectionConfig]: unrecognized selector sent to instance 0x282eca200'
this is the issue I'm referring to
There is no initWithLocationId, so that error seems to make sense.
When you fixed the signature issues did you upgrade to a newer version of the SDK that's no longer compatible with your existing code?
Seems that way yes. I've found this to be the workaround - new method?
Seems that many of these classes now have builder wrappers
Would it be better for you to install the older version of the SDK? Or do you need to upgrade to the new version?
If you do want to use the newer version you should read through the changelog to find out what changed between the version you were using and the version you're using now: https://github.com/stripe-ios/stripe-terminal-ios/blob/master/CHANGELOG.md
I'll dive a little deeper and see what makes more sense
new version is going to be ideal just to keep up with documentation, etc. I'll explore both options though hopefully without any hiccups!
thanks again for the help and time
Happy to help!