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
Can't build iOS app with razorpay_flutter 1.2.1 and XCode 11.5 #92
Comments
Same issue with me! Please fix this ! |
Same issue here. Please resolve it ASAP |
@Nautiyalsachin 👆 Please update any workaround atleast ? |
Hi I am also facing the same issue and haven't been able to come across any workaround for this. |
+1 same issue |
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F2200, locale en-IN) |
Same here. Facing build issues |
@Nautiyalsachin @sumedht @ChintanAcharya please acknowledge this issue |
I have tried to reach out to them on Twitter. Let's see I get a response there. https://twitter.com/nimish_nandwana/status/1283284941652934657 |
I have raised an support ticket and got this reply:
|
@nomis-rzp Hope so we will have an answer from the support soon! |
I found a solution, here's the razorpay pod folder that works for me from my other system, |
thanks @Anmol92verma , i found another solution as well. This issue have already solved in master branch razorpay-pod: https://github.com/razorpay/razorpay-pod.git To solve the issue, in Podfile, under target 'Runner' add
|
@thangvq95 Yes, It worked! |
@thetpaingsoe it was resolved but I don't think you should close this issue, let the team itself fix and close this. It could help many others also. |
This worked! Thanks |
Thanks @Anmol92verma It worked for me |
Hey @thetpaingsoe, we have released a new version with the fix, please update your flutter plugin and run pod update, this will fix this issue. Closing this issue now. |
Still facing this issue. |
Description
When i try to run project with razorpay_flutter 1.2.1, This error come out.
Can't run the app and can't build the ios app.
This is error log.
Xcode build done. 35.8s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Command CompileSwift failed with a nonzero exit code
/Users/username/Library/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/razorpay_flutter-1.2.1/ios/Classes/RazorpayDelegate.swift:4:42: error: 'RazorpayPaymentCompletionProtocolWithData' is unavailable:
cannot find Swift declaration for this protocol
public class RazorpayDelegate: NSObject, RazorpayPaymentCompletionProtocolWithData, ExternalWalletSelectionProtocol {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Razorpay.RazorpayPaymentCompletionProtocolWithData:2:17: note: 'RazorpayPaymentCompletionProtocolWithData' has been explicitly marked unavailable here
public protocol RazorpayPaymentCompletionProtocolWithData {
^
/Users/username/Library/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/razorpay_flutter-1.2.1/ios/Classes/RazorpayDelegate.swift:4:85: error: 'ExternalWalletSelectionProtocol' is unavailable: cannot
find Swift declaration for this protocol
public class RazorpayDelegate: NSObject, RazorpayPaymentCompletionProtocolWithData, ExternalWalletSelectionProtocol {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Razorpay.ExternalWalletSelectionProtocol:2:17: note: 'ExternalWalletSelectionProtocol' has been explicitly marked unavailable here
public protocol ExternalWalletSelectionProtocol {
^
/Users/username/Library/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/razorpay_flutter-1.2.1/ios/Classes/RazorpayDelegate.swift:57:24: error: use of unresolved identifier 'RazorpayCheckout'
let razorpay = RazorpayCheckout.initWithKey(key ?? "", andDelegateWithData: self)
^~~~~~~~~~~~~~~~
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Flutter Version :
Flutter 1.17.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8af6b2f038 (10 days ago) • 2020-06-30 12:53:55 -0700
Engine • revision ee76268252
Tools • Dart 2.8.4
Xcode Version :
Version 11.5 (11E608c)
Cocoapod Version :
cocoapods/1.9.3
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
The text was updated successfully, but these errors were encountered: