Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in adding StripeCore in AppDelegate xcode #4006

Closed
leoginnayre13 opened this issue Sep 11, 2024 · 2 comments
Closed

Error in adding StripeCore in AppDelegate xcode #4006

leoginnayre13 opened this issue Sep 11, 2024 · 2 comments
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@leoginnayre13
Copy link

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"

Screenshot 2024-09-11 at 6 07 37 PM

Reference of Stripe Documentation: https://docs.stripe.com/payments/cash-app-pay/set-up-payment?web-or-mobile=mobile&payments-ui-type=ios

@davidme-stripe
Copy link
Contributor

Thanks for filing this! Do you have -fno-modules anywhere in your Xcode Settings or Podfile?

This setting in your target should also be set to Yes: CleanShot 2024-09-17 at 11 31 26@2x

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Sep 17, 2024
@porter-stripe
Copy link
Collaborator

Closing this out as stale, if this is still an issue please re-open with further details. Thanks!

@porter-stripe porter-stripe closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants