Swift Compiler Error (Xcode): Missing return in closure expected to return 'String'
/Users/mac/Documents/Programming/Projects/yay_food/ios/Pods/StripeCore/StripeCore/StripeCore/Source/Analytics/AnalyticLoggableError.swift:62:8
Swift Compiler Error (Xcode): Missing return in closure expected to return 'String'
/Users/mac/Documents/Programming/Projects/yay_food/ios/Pods/StripeCore/StripeCore/StripeCore/Source/Analytics/AnalyticLoggableError.swift:69:8
I have searched everywhere but It doesn't seem like a problem regarding swift cause those are self generated files that stripe has generated for ios.
I tried doing flutter clean and restarting everything, but that didn’t work either. I even tried doing on it on a brand new project. Or downgrading stripe. Nothing worked.
and if I overridden the error in the generated class. I get the same error but from a different file.
For Example:
Swift Compiler Error (Xcode): Missing return in closure expected to return 'Bool'
/Users/mac/Documents/Programming/Projects/yay_food/ios/Pods/StripePaymentSheet/StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:215:8