Skip to content

[BUG] Missing dependency because dependency scan of Swift module dependency on... #5753

@tikipatel

Description

@tikipatel

Summary

When including any Stripe packages in a module, we are presented with errors like these:

'StripePaymentsUI' is missing a dependency on 'StripePayments' because dependency scan of Swift module 'StripePaymentsUI' discovered a dependency on 'StripePayments'
'StripePayments' is missing a dependency on 'StripeCore' because dependency scan of Swift module 'StripePayments' discovered a dependency on 'StripeCore'
...

The project setup is modular in nature where we define a StripePaymentCore module to handle shared logic used by other modules.

Code to reproduce

xcodegen setup:

  StripePaymentCore:
    dependencies:
      - package: stripe-ios-spm
        products:
          - Stripe
          - StripePayments
          - StripePaymentsUI
Image

iOS version

Xcode 26

Installation method

SPM

SDK version

24.25.0

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions