razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
108 stars 149 forks source link

'RazorpayPaymentCompletionProtocolWithData' is unavailable: cannot find Swift declaration for this protocol #421

Open pixcelnettechnology opened 1 week ago

pixcelnettechnology commented 1 week ago

Swift Compiler Error (Xcode): Error extracting version from module interface /Users//.pub-cache/hosted/pub.dev/razorpay_flutter-1.3.7/ios/Classes/RazorpayDelegate.swift:1:7

Swift Compiler Error (Xcode): Error extracting version from module interface /Users//Documents/Personal/ams-app/build/ios/Release-iphoneos/XCFrameworkIntermediates/razorpay-pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64-apple- ios.private.swiftinterface:0:0

Swift Compiler Error (Xcode): 'RazorpayPaymentCompletionProtocolWithData' is unavailable: cannot find Swift declaration for this protocol /Users//.pub-cache/hosted/pub.dev/razorpay_flutter-1.3.7/ios/Classes/RazorpayDelegate.swift:3:41

Swift Compiler Error (Xcode): 'ExternalWalletSelectionProtocol' is unavailable: cannot find Swift declaration for this protocol /Users//.pub-cache/hosted/pub.dev/razorpay_flutter-1.3.7/ios/Classes/RazorpayDelegate.swift:3:84

Swift Compiler Error (Xcode): Type 'RazorpayCheckout' has no member 'initWithKey' /Users//.pub-cache/hosted/pub.dev/razorpay_flutter-1.3.7/ios/Classes/RazorpayDelegate.swift:56:40

=======

flutter doctor -v [✓] Flutter (Channel stable, 3.24.4, on macOS 15.1 24B83 darwin-arm64, locale en-IN) • Flutter version 3.24.4 on channel stable at /Users//Documents/Development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 603104015d (3 weeks ago), 2024-10-24 08:01:25 -0700 • Engine revision db49896cf2 • Dart version 3.5.4 • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3) • Android SDK at /Users//Library/Android/sdk • Platform android-35, build-tools 35.0.0-rc3 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16B40 • CocoaPods version 1.16.2

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.95.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.100.0

[✓] Connected device (4 available) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1 24B83 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1 24B83 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.117

[✓] Network resources • All expected network resources are available.

• No issues found!