Open leoginnayre13 opened 2 weeks ago
After adding "pod 'StripePaymentsUI' in Podfile, and adding "@import StripeCore;" in Appdelegate, this error shows up:
"Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules"
Reference of Stripe Documentation: https://docs.stripe.com/payments/cash-app-pay/set-up-payment?web-or-mobile=mobile&payments-ui-type=ios
Thanks for filing this! Do you have -fno-modules anywhere in your Xcode Settings or Podfile?
-fno-modules
This setting in your target should also be set to Yes:
Yes
After adding "pod 'StripePaymentsUI' in Podfile, and adding "@import StripeCore;" in Appdelegate, this error shows up:
"Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules"
Reference of Stripe Documentation: https://docs.stripe.com/payments/cash-app-pay/set-up-payment?web-or-mobile=mobile&payments-ui-type=ios