-
Notifications
You must be signed in to change notification settings - Fork 151
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
Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler #28
Comments
any update on this, We are also blocked on the same error. Needs a rebuild and new version with latest xcode compiler on mac. |
@ChintanAcharya any update/ETA on this issue? |
facing the same issue, did anyone find a way around to get this work? |
https://razorpay.com/docs/payment-gateway/ios-integration/standard/ A temporary fix is, Download the latest 5.1 razorpay-sdk (Razorpay.framework). Replace this downloaded one in ios/Pods/razorpay-pod/Pod/Razorpay.framework. and run it from Xcode > Product > Run |
@prasanna-narayanan24 if we do that we are getting below exception when we run. |
can you delete the Podfile.lock file and try doing the same steps as mentioned above? |
@prasanna-narayanan24 even after deleting the podfile.lock, I am getting the same exception with the new 5.1 SDK. |
the error says that withPaymentData is replaced with WithPaymentData, so i guess changing the variable name should fix. |
Also fixes |
We are working on a Swift 5.1 compatible release. ETA is by the end of this week. |
Thank you @ChintanAcharya for the update. |
v1.1.2 is out, which should fix this issue. |
hi..just updating the pod file and updating razorpay pod will work..or is there anything else I should do? |
@prasanna-narayanan24 any workaround possible for xcode 10.1 ? alfa version of pub will work? |
Hi
Thanks for the reply.. I did update the razorpay pod but xcode didn't
reflect the change.. But next day when xcode launched error was gone.. .
Issue fixed hence..
Once again thanks for the reply..
…On Sun, 20 Oct 2019, 5:44 pm Subrahmanya S M, ***@***.***> wrote:
@prasanna-narayanan24 <https://github.com/prasanna-narayanan24> any
workaround possible for xcode 10.1 ? alfa version of pub will work?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28?email_source=notifications&email_token=ADHEWN3AFIS7XMVCY6EK5STQPRDQ3A5CNFSM4IY77CDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYIXXA#issuecomment-544246748>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHEWN6NG4IRTUXF6GDLRYLQPRDQ3ANCNFSM4IY77CDA>
.
|
Updating to v1.1.2 fixed this issue for us. Thanks! |
Yes I did update the pod and working fine now.. Thanks for the reply
|
Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a new ticket if you have any additional issues. |
Which Xcode Version you are using? |
Here is how I resolved the issue.. Hope helps someone and saves his time. Put in Podfile - pod 'razorpay-pod', '1.1.5' in case of an issue do ask |
Could you please explain a bit!? |
Hey @deepakatom, Can you try cleaning the build and deleting derived data first, and try again, let me know after following these steps you are still getting the same error. |
iOS build is failing with below exception with new XCODE release Version 11.0.
Please update your iOS SDK to 5.1 in Flutter Project.
Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler: /ios/Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
The text was updated successfully, but these errors were encountered: