Skip to content

[BUG] With Adyen delivered by SPM Adding Apple Pay card causes crash #1525

Description

@odys1528

Describe the bug
I'm using Adyen dropin to add a regular card or Apple Pay card. I'm in progress of migrating from Cocoapods to SPM. The problem appears when I'm trying to add an Apple Pay card as a payment method. When I'm confirming the authorization payment and the system popup is in processing state, the app crashes with error:

-[AdyenComponents.ApplePayComponent paymentAuthorizationViewController:didAuthorizePayment:completion:]: unrecognized selector sent to instance

To Reproduce
Steps to reproduce the behavior:

  1. Add Adyen to the project with SPM
  2. Open dropin component with Apple Pay configured
  3. Try to add Apple Pay card from wallet

Expected behavior
Card is correctly processed.

Environment

  • Device: any device (not simulator)
  • iOS Version: 16.6.1
  • SDK Version: 17,0: (21A325)
  • Adyen API Version: 5.3.0
  • Package management system: SPM
  • Xcode version: 15.0
  • Mac OS type: Intel

Additional context
The problem does not occur when Adyen is provided by Cocoapods. The problem occurs also on Adyen v5.6.0.
Project is build with Tuist. The problem occurs on both v3 and v4.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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