Skip to content

Can't import this SDK and new PayPal SDK simultaneously #1682

Description

@MatyasKriz

Braintree SDK Version

6.39.0

Environment

Both

Xcode Version

Xcode 16.4

OS Version & Device

irrelevant

Integration type

Swfit Package Manager

Development Processor

Apple Silicon (M-series chips)

Describe the bug

Hello, we've already got PayPal integrated through https://github.com/paypal/paypal-ios and want to add Braintree to the mix for card payments.

However, I can't add Braintree into the project because it uses a conflicting target name "PPRiskMagnes". Could it perhaps be renamed to something unique instead?

To reproduce

  1. Add https://github.com/paypal/paypal-ios and https://github.com/braintree/braintree_ios through SPM to any project.
  2. Get "multiple packages ('braintree_ios', 'paypal-ios') declare targets with a conflicting name: 'PPRiskMagnes’; target names need to be unique across the package graph" error.

Expected behavior

SDKs can be used alongside each other.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    external-dependencyThis fix requires an upgrade to an external dependency that we do not own

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions