razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
107 stars 147 forks source link

Swift Compiler Error (Xcode): No such module 'Razorpay' #336

Open NehilKoshiya opened 1 year ago

NehilKoshiya commented 1 year ago

Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

Swift Compiler Error (Xcode): No such module 'Razorpay' /Users/mac/.pub-cache/hosted/pub.dev/razorpay_flutter-1.3.4/ios/Classes/RazorpayDelegate.swift:1:7

Could not build the application for the simulator. Error launching application on iPhone 13.

mellow0412 commented 1 year ago

I am too facing same error, any solution/fix found ?

VickySalunkhe commented 11 months ago

@NehilKoshiya @mellow0412 any solution or workaround you found?

himanshu-binarychai commented 6 months ago

@NehilKoshiya @mellow0412 any solution for this ?

NehilKoshiya commented 6 months ago

@NehilKoshiya @mellow0412 any solution for this ?

Not yet, same issue!

chungxon commented 6 months ago

Which version of cocoapods are you using?

I upgraded cocoapods to the latest version 1.15.2 and it is fixed

Open terminal and run these commands:

brew upgrade cocoapods

brew link --overwrite cocoapods

himanshu-binarychai commented 6 months ago

Which version of cocoapods are you using?

I upgraded cocoapods to the latest version 1.15.2 and it is fixed

Open terminal and run these commands:

brew upgrade cocoapods

brew link --overwrite cocoapods

basically my projects works well in laptop with intel chip but in m1 chip mac i am getting no such module issues with all external sdks

chungxon commented 6 months ago

basically my projects works well in laptop with intel chip but in m1 chip mac i am getting no such module issues with all external sdks

Ah, I use M1 too and had the same problem a few days ago, and I fixed it by upgrading cocoapods. Hope this is helpful!

himanshu-binarychai commented 6 months ago

Which version of cocoapods are you using? I upgraded cocoapods to the latest version 1.15.2 and it is fixed Open terminal and run these commands: brew upgrade cocoapods brew link --overwrite cocoapods

basically my projects works well in laptop with intel chip but in m1 chip mac i am getting no such module issues with all external sdks

heyy, buddy thankyou so much, After updating cocoapods to 1.5.2, cleaning build and restarting device is fixed my issue. i have fixed my all problem form my every project you saved me!!!!