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

[BUG] Cannot integrate stripe-iOS using SPM using Xcode 15.3 #3536

Open
OJDee opened this issue Apr 23, 2024 · 1 comment
Open

[BUG] Cannot integrate stripe-iOS using SPM using Xcode 15.3 #3536

OJDee opened this issue Apr 23, 2024 · 1 comment
Labels
kind:bug triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@OJDee
Copy link

OJDee commented Apr 23, 2024

Summary

When attempting to archive app, at the point of checking out dependencies via SPM, the following error is produced and archive fails

xcodebuild: error: Could not resolve package dependencies:
  Dependencies could not be resolved because no versions of 'stripe-ios' match the requirement 23.27.1..<24.0.0 and root depends on 'stripe-ios' 23.27.1..<24.0.0.

Using Xcode-select 15.1, with exact same project and settings, the app is archived correctly

Code to reproduce

Add stripe-iOS using SPM, with following properties:
Up to next major version 23.27.1 < 24.0.0

Xcode version

Xcode 15.3

Installation method

Swift Package Manager

@OJDee OJDee added the kind:bug label Apr 23, 2024
@OJDee OJDee changed the title [BUG] Cannot integration stripe-its using SPM using Xcode 15.3 [BUG] Cannot integration stripe-iOS using SPM using Xcode 15.3 Apr 24, 2024
@OJDee OJDee changed the title [BUG] Cannot integration stripe-iOS using SPM using Xcode 15.3 [BUG] Cannot integrate stripe-iOS using SPM using Xcode 15.3 May 1, 2024
@davidme-stripe
Copy link
Contributor

Hello, thanks for filing! Not sure about this, but I'm seeing a similar issue with other SPM packages. Could you try setting a version number as shown there and see if it resolves the issue?

As another tip, try using https://github.com/stripe/stripe-ios-spm as your SPM URL: It should make your checkout process significantly faster.

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label May 1, 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

2 participants