-
Notifications
You must be signed in to change notification settings - Fork 252
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 build after update Xcode. #1183
Comments
Been having same issue for about a week now. Using Expo 46 currently and have tried on 45 and 44 with correct dependencies and same issue persists. The best I can tell from my research is it seems to be a problem with iOS 16. In my own case I ran my app with iOS 15 and it worked perfectly. Then I updated iphone to iOS 16 which forced xCode update to xCode 14 before it would connect. That's when I started getting the same error that you're getting and have been stuck for a week. Still haven't figured out a fix but thought I'd throw this on the pile of info in case anyone more experienced than I can tell what's going on. It's definitely something between iOS 16 and xCode 14 that's causing the problem, as best as I can tell. |
I just ran into the exact same issue. I can confirm it is independent from the stripe version, as I played around with running Xcode 14.0.1 |
Any updates on this issue? |
I was able to resolve that issue myself by upgrading to the following in my
|
Upgrading to @stripe/stripe-react-native 0.19.0 then in the ios files running "pod update Stripe" solved my issue. |
Upgrading to version 0.19.0 did not fixed the error |
xcode 14.1 |
What react version are you using? |
I updated the stripe to the latest version and solved the problem on iOS |
@ameerarx Please Can you show use your package.json dependency |
"@stripe/stripe-react-native": "^0.19.0", |
This is fixed in the most recent version (provided you run |
I'm using stripe-react-native 0.23.1 and still getting this error under RN 0.70 or RN 0.71...
Any clue? Xcode 14.2 on M2 Pro |
I solved it as follows My computer is a
package.json I update my PodFile https://stackoverflow.com/a/74192042/6080699 And added these lines
Delete
reinstall I hope it will be useful to someone |
I don't think turning off code signing has to do with this but anyway I ended up building through Rosetta 2 and it worked. |
@antoinerousseau - hi how did you get it work? I am getting errors with M1
|
@Hopefulee make sure you open Xcode through Rosetta 2 (or run Also check your Ruby version (I use RVM), clean the build folder, pod install etc |
same issue in IOS xcode 15 |
Describe the bug
error build: '(any PKPaymentAuthorizationControllerDelegate) -> ((PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> Void) -> Void)?' is not convertible to 'pkDidSelectShippingMethodSignature' (aka 'Optional<((any PKPaymentAuthorizationControllerDelegate) -> (PKPaymentAuthorizationController, PKShippingMethod, @escaping (PKPaymentRequestShippingMethodUpdate) -> ()) -> ())>')
Did you mean to use 'as!' to force downcast?
Expected behavior
A bug appeared after updating Xcode. The project does not start.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: