[ad_1]
After importing Razorpay plugin in flutter, my app isn’t constructing for iOS simulator. It’s operating on iOS Bodily machine and Android emulator however I am unable to seek out out the explanation for this error whereas constructing for simulator.
Error:
Launching lib/essential.dart on iPhone 13 in debug mode...
Operating pod set up...
Operating Xcode construct...
Xcode construct finished. 37.2s
Did not construct iOS app
Error output from Xcode construct:
↳
** BUILD FAILED **
Xcode's output:
↳
Command CompileSwiftSources failed with a nonzero exit code
Command CompileSwiftSources failed with a nonzero exit code
Command CompileSwiftSources failed with a nonzero exit code
/Customers/kaushalkishore/Developer/flutter/.pub- cache/hosted/pub.dartlang.org/razorpay_flutter-1.2.9/ios/Courses/RazorpayDelegate.swift:2:8: error: module 'Razorpay' was created for incompatible goal arm64-apple-ios10.0: /Customers/kaushalkishore/StudioProjects/entryking/ios/Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule
import Razorpay
^
/Customers/kaushalkishore/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/razorpay_flutter-1.2.9/ios/Courses/RazorpayDelegate.swift:2:8: error: module 'Razorpay' was created for incompatible goal arm64-apple-ios10.0: /Customers/kaushalkishore/StudioProjects/entryking/ios/Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule
import Razorpay
^
be aware: Utilizing new construct system
be aware: Planning
be aware: Construct preparation full
be aware: Constructing targets in dependency order
Couldn't construct the applying for the simulator.
Error launching software on iPhone 13.
[ad_2]
